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).

Required scope: products:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

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

Requires permission: categories.update

Request

Responses

OK

Response Headers
    Content-Type