Skip to main content
PUT
Update category

Authorizations

Authorization
string
header
required

Sign in to the admin dashboard and use the resulting ID token for a store and operation you can access. The authenticated dashboard cookie is accepted when the Authorization header is absent. Missing or insufficient access returns 401.

Path Parameters

id
string
required

category id

Body

application/json
name
string
Maximum string length: 128
description
string | null
active
boolean
default:true
parent_category_id
string | null
slug
string
Maximum string length: 128
Pattern: ^(?!-)([0-9a-zA-Z\s-]+)(?<!-)$
auto_assign_products
boolean
default:false
assign_products_condition
CategoryAssignmentCondition · object | null
child_categories
ChildCategory · object[]

Direct children, each nesting its own child_categories.

Response

OK

message
string
success
boolean
content
object