Skip to main content
GET
Retrieve collection
Der Dienst bietet Zugriff auf den Produktkollektion-Endpoint.
Sie finden die Produkt-collection_id im Bereich Product Collections des Dashboards. Ihre konfigurierten Kollektionen sind dort zusammen mit ihren ID-Nummern aufgelistet.

Abfrageparameter

Antwort

Liste der Felder für das products-Objekt-Array

Liste der Eigenschaften für das categories-Array

Pfadparameter

collection_id
string
erforderlich

The ID of the product collection to retrieve.

Abfrageparameter

shop_id
string
erforderlich

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.

Antwort

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.