Retrieve item product details

Retrieve requested product detail fields for one or more items. Results preserve request order and repeated IDs. Every requested ID has a corresponding response entry.

Query Params
string
required
length between 1 and 100

The key of the index to use.

string
required
length between 1 and 100

The section of the index to use (e.g. 'Products').

item_id
array of strings
required
length between 1 and 20

1 to 20 item IDs to retrieve product details for. Repeat this parameter to specify multiple IDs.

Item ID*
length between 1 and 100

The ID of the client and version that the request is coming from, such as cio-js-2.90.

A customer generated obfuscated identifier for a user on a customer website. It should only be sent for logged in customers and helps Constructor to tie multiple client and session IDs together to form a behavioral data profile across devices. For a shopper who has not consented, or who has withdrawn consent, omit this parameter, even if the shopper is logged in.

fields
array of const
required

One or more product detail fields to include in the response. This parameter may be repeated to specify multiple fields.

Fields*

An integer representing the user's session number (starting with 1), incremented after a 30 minute period of inactivity. Send it with every request, including for a shopper who has not consented. If no stored value is available, send a fixed integer such as 1.

A globally unique identifier for the user browser (or mobile application instance) making the request. For a shopper who has not consented, or who has withdrawn consent, omit this parameter when the browser or app sends the request. Constructor may treat those requests as non-human traffic. They can get slower or stale results, and they can be rejected, occasionally or permanently. In a backend integration, send an identifier your server creates for that visit and keeps only in its own session. See Setting up shopper consent in Data-driven event tracking.

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json