Create Category
POST/api/categories
Create a new product category.
Authentication: Requires Bearer token.
Request body fields:
name(required) — category name; must be unique within the same parentparent_id(optional) — parent category ID; null creates a root categoryattribute_groups(optional) — array of attribute group IDs to linkattributes(optional) — array of attribute IDs to link
Request
Responses
- 200
Successful response