Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieve a product collection widget (detailed)

Returns the same record as Retrieve a product collection widget, with product_collection expanded into a nested object.

get
/product_collection_widgets/{id}/detailed/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the product collection widget.

Responses
200

The requested product collection widget with its nested product collection.

application/json

A product collection widget — a CMS widget that renders products from a product collection.

pkintegerRead-onlyOptional

The unique identifier of the widget.

created_datestring · date-timeRead-onlyOptional

When the widget was created.

modified_datestring · date-timeRead-onlyOptional

When the widget was last modified.

namestring · max: 255Optional

The display name of the widget.

Example: Summer Picks
slugstring · max: 255Optional

The identifier storefront templates use to render the widget. Unique across all CMS widgets.

Example: summer-picks
widget_typeintegerOptional

The identifier of the widget type whose schema defines the accepted attributes.

Example: 3
templatestring · max: 512Optional

The path of the template that renders the widget.

Example: widgets/product-carousel.html
product_limitinteger · min: 1Optional

The maximum number of products the widget shows.

Example: 10
extraction_strategystring,null · enum · nullableOptional

The value of the extraction strategy, or null when the default strategy is used. See Extraction Strategies in the section introduction.

Example: omnishop.search.strategies.FirstItemSearchExtractionStrategyPossible values:
get/product_collection_widgets/{id}/detailed/
GET /api/v1/remote/1/product_collection_widgets/{id}/detailed/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "pk": 1,
  "created_date": "2026-01-01T00:00:00.000Z",
  "modified_date": "2026-01-01T00:00:00.000Z",
  "attributes": {
    "title": "Summer Picks",
    "layout": "carousel"
  },
  "name": "Summer Picks",
  "slug": "summer-picks",
  "widget_type": 3,
  "template": "widgets/product-carousel.html",
  "attributes_kwargs": {
    "layout": {
      "value": "carousel",
      "data_type": "dropdown"
    }
  },
  "product_collection": {
    "pk": 12,
    "uuid": "1f7c9b2a-6d3e-4a1b-9c8d-2e5f7a0b1c3d",
    "name": "Summer Picks",
    "slug": "summer-picks",
    "is_active": true,
    "sort_option": null,
    "collection_type": "static",
    "created_date": "2026-06-01T10:00:00Z",
    "modified_date": "2026-06-01T10:00:00Z"
  },
  "product_limit": 10,
  "extraction_strategy": "omnishop.search.strategies.FirstItemSearchExtractionStrategy"
}

Last updated

Was this helpful?