Create a category
Creates a new product category with multilingual configuration and optional SEO settings.
Categories support hierarchical structures via parent_id, multilingual titles and
descriptions via the config object, and can be associated with an image asset.
The config object must contain at least one language key (e.g. en, de) matching
the languages enabled for your account. Each language entry requires a title at minimum.
Body Parameters
UUID of the parent category for creating hierarchical structures.
UUID of the image asset to associate with this category.
Whether the category is active and visible. Defaults to true.
Icon data or URL for category display. Set to null to clear.
Multilingual configuration keyed by language code (e.g. en, de, es).
Must contain between 1 and 10 language entries. Language codes must match
the languages enabled on your account.
{
"config": {
"en": {
"title": "Electronics"
}
}
}
Responses
Category created successfully
Validation or business logic error. Returned when:
- Missing required
configfield - Missing required
titlewithin a language config - Invalid UUID format for
parent_idorasset_id - Unsupported language code in
configkeys - Field length violations (e.g.
titleshorter than 2 or longer than 240 characters) - Invalid
slugpattern (spaces, special characters, orsystem-prefix) - Additional/unknown properties in the request body
- Type mismatches (e.g.
statussent as string instead of boolean)
Error codes:
| Code | Description |
|---|---|
| 1002 | Asset or parent category not found |
| 10156 | Category name invalid (empty or missing title) |
| 10157 | Max children or max ancestors reached for parent category |
Unauthorized – invalid or missing Bearer token