Skip to main content
GET
Retrieve collection
Service provides access to product collection endpoint.
You can find the product 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

collection_id
string
required

The ID of the product collection to retrieve.

Query Parameters

shop_id
string
required

Store Key. Find this in Recommendations > Settings > Store settings in the Kameleoon app. Contact your Customer Success Manager for the key if necessary.

did
string

Device ID. You can find this ID in the cookie KameleoonProducts_device_id, retrieved from the back end before calling this endpoint.

sid
string

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.

location
string

User's location.

external_id
string

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.

Response

200 - application/json

The collection's products and HTML template.

products
object[]

Information about the products in the collection.

html
string

The HTML template selected when the collection was created.