younifyd
Menu

Update categories/{id}

Update categories/{id}

PUT/V1/categories/{id}

Use it in a workflow

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

Request

Path parameters

idstringrequired

Response

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

idinteger

Category id.

parent_idinteger

Parent category ID

namestring

Category name

is_activeboolean

Whether category is active

positioninteger

Category position

levelinteger

Category level

childrenstring

Children ids comma separated.

created_atstring

Category creation date and time.

updated_atstring

Category last update date and time.

pathstring

Category full path.

available_sort_byarray<string>

Available sort by for category.

include_in_menuboolean

Category is included in menu.

extension_attributesobject

ExtensionInterface class for @see \Magento\Catalog\Api\Data\CategoryInterface

custom_attributesarray<object>

Custom attributes values.

attribute_codestringrequired

Attribute code

valuestringrequired

Attribute value

json
{
  "id": 0,
  "parent_id": 0,
  "name": "string",
  "is_active": false,
  "position": 0,
  "level": 0,
  "children": "string",
  "created_at": "string",
  "updated_at": "string",
  "path": "string",
  "available_sort_by": [
    "string"
  ],
  "include_in_menu": false
}

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