Retrieve a product collection widget
Returns a single product collection widget by its identifier.
Localizable attributes are returned in the language active for the request — see IGNORE_ACCEPT_LANGUAGE_HEADER in the section introduction.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the product collection widget.
The requested product collection widget.
A product collection widget — a CMS widget that renders products from a product collection.
The unique identifier of the widget.
When the widget was created.
When the widget was last modified.
The display name of the widget.
Summer PicksThe identifier storefront templates use to render the widget. Unique across all CMS widgets.
summer-picksThe identifier of the widget type whose schema defines the accepted attributes.
3The path of the template that renders the widget.
widgets/product-carousel.htmlThe identifier of the product collection whose products the widget shows.
12The maximum number of products the widget shows.
10The value of the extraction strategy, or null when the default strategy is used. See Extraction Strategies in the section introduction.
omnishop.search.strategies.FirstItemSearchExtractionStrategyPossible values: Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested product collection widget does not exist.
GET /api/v1/remote/1/product_collection_widgets/{id}/ 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": 12,
"product_limit": 10,
"extraction_strategy": "omnishop.search.strategies.FirstItemSearchExtractionStrategy"
}Last updated
Was this helpful?

