Retrieve collection
Retrieve a configured product collection and its HTML template from the Kameleoon Product Recommendation API.
collection_id in the Product Collections section of the dashboard, which lists your configured collections along with their ID numbers.Query parameters
Response
List of fields for products array of objects
List of properties for categories array
Path Parameters
The ID of the product collection to retrieve.
Query Parameters
Store Key. Find this in Recommendations > Settings > Store settings in the Kameleoon app. Contact your Customer Success Manager for the key if necessary.
Device ID. You can find this ID in the cookie KameleoonProducts_device_id, retrieved from the back end before calling this endpoint.
Temporary user session ID. Get this ID from the KameleoonProducts_session_code cookie. Retrieve it from the backend before calling this endpoint. Not independently verified live for this endpoint; added for consistency with the documented query-parameter table.
User's location.
Unique identifier associated with a user in your system or CRM. To ensure accurate matching with the Kameleoon VisitorCode, store this ID as Kameleoon Custom Data with "Use this custom data as a unique identifier for cross-device matching" enabled.