Retrieve by collection ID
Retrieve AI-optimized products from a specified collection
Request
- Base URLhttps://offsite-discovery.cnstrc.com
- URLhttps://offsite-discovery.cnstrc.com/v1/browse/collection_id/{collection_id}
- Authnone required
Path parameters
The unique identifier of the collection containing the product set.
Query parameters
The key of the index to use.
Email campaign identifier for tracking and analytics.
DEPRECATED. Please, use 'filters' instead. Name of the product attribute to filter by (e.g., brand, category, color). Must be provided together with filter_value.
DEPRECATED. Please, use 'filters' instead. Value to filter the specified attribute by. Must be provided together with filter_name.
The maximum number of collection items to retrieve.
The method to sort results by. The default value relevance sorts by Constructor's attractiveness & personalization algorithms and is reserved. Alternative sort criteria can be configured using the sort options
The sort order for results: ascending (low to high) or descending (high to low).
The order by which results should be sorted. Only valid in conjunction with sort_by.
The ID of the client and version that the request is coming from, such as cio-js-2.90.
Unique identifier for the user to personalize recommendation results.
Base URL used to construct the product detail page redirect URL (e.g., 'https://example.com').
Response
OK. A list of products from a specified collection.
Example response
[
{
"data": {
"id": "PROD123",
"variation_id": "VAR456",
"url": "https://example.com/products/prod123",
"image_url": "https://example.com/images/prod123.jpg"
},
"value": "Classic Blue T-Shirt",
"strategy": {
"id": "bestsellers"
},
"labels": {
"is_retail_media": true,
"sl_campaign_id": "campaign_123",
"sl_campaign_owner": "brand_abc"
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.