younifyd
Menu

Get categories

Get categories

GET/V1/categories

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Get categories action (under Categories).
  3. Fill in the fields below, then reference the result from later steps as {{getCategories.response.data}}.

Request

Query parameters

rootCategoryIdinteger
depthinteger

Response

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

idinteger

Id

parent_idinteger

Parent category ID

namestring

Category name

is_activeboolean

Whether category is active

positioninteger

Category position

levelinteger

Category level

product_countinteger

Product count

children_dataarray<object>

Children Data

json
{
  "parent_id": 0,
  "name": "string",
  "is_active": false,
  "position": 0,
  "level": 0,
  "product_count": 0,
  "children_data": [
    {}
  ],
  "id": 0
}

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

Get categories — Adobe Commerce — Documentation