younifyd
Menu

Retrieve item product details

Retrieve item product details

GET/v1/items

Use it in a workflow

  1. Add a step and choose the Constructor connector.
  2. Pick the Retrieve item product details action (under Product Details).
  3. Fill in the fields below, then reference the result from later steps as {{retrieveItemProductDetails.response.data}}.

Request

Query parameters

sectionstringrequired

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

item_idstringrequired

The unique identifier of an item in the product catalog.

coneOf

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

uioneOf

A customer generated anonymized 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.

fieldsarray<string>required

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

soneOf

An integer representing the users session number (starting with `1`), incremented after a 30 minute period of inactivity.

ioneOf

A globally unique identifier for the user browser (or mobile application instance) making the request.

Response

Returns 200 with an object. Read it in later steps with {{retrieveItemProductDetails.response.data.<field>}}.

trace_idstring
responseobject
itemobjectrequired2 fields

Item with nested enriched_attributes (used in GET /v1/items).

json
{
  "trace_id": "string",
  "response": {
    "item": {
      "id": "string",
      "enriched_attributes": {
        "badges": [
          {
            "type": "string",
            "display_name": "string",
            "metadata": {}
          }
        ],
        "attributes": {}
      }
    }
  }
}

Need more? See the Constructor guide for connection setup and behaviour shared by every action.

Retrieve item product details — Constructor — Documentation