Skip to main content

Update Category

PUT 

/api/categories/:category

Update an existing product category. Attribute groups and attributes are synced (replaced entirely if provided).

Authentication: Requires Bearer token.

Request body fields:

  • name (optional) — category name; must be unique within the same parent
  • parent_id (optional) — parent category ID
  • attribute_groups (optional) — array of attribute group IDs to sync
  • attributes (optional) — array of attribute IDs to sync

Request

Responses

Successful response