younifyd
Menu

Retrieve item group (Deprecated)

Retrieve item group (Deprecated)

GET/v1/item_groups/{group_id}

Use it in a workflow

  1. Add a step and choose the Constructor connector.
  2. Pick the Retrieve item group (Deprecated) action (under Item Groups).
  3. Fill in the fields below, then reference the result from later steps as {{retrieveItemGroupDeprecated.response.data}}.

Request

Path parameters

group_idstringrequired

Query parameters

sectionstring

The section of the index to use. Defaults to `Products`.

cstring

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

Response

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

item_groupsarray<object>

A list of item groups.

dataobject

Object containing additional data, that should be attached to this item group. The maximum size of data object is limited to 5kb. The average size of data objects for all ingested item groups should not exceed 1kb.

idstringrequired

ID of the item group.

namestringrequired

Item group display name.

childrenarray<object>

A list of item groups categorized under the current item group.

total_countinteger

Total number of item groups.

json
{
  "item_groups": [
    {
      "id": "string",
      "name": "string",
      "data": {},
      "children": [
        {}
      ]
    }
  ],
  "total_count": 0
}

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