Create a category
POST/v2/categories
Creates a category and places it within the hierarchy at the supplied parent.
When no parent is supplied the category becomes a root category in the catalogue tree. When a parent is supplied it can be identified by internal identifier or by external source / source identifier pair, allowing upstream systems to attach new categories without needing to know the internal identifiers.
The catalogue's default language must be present in the localized name list.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 500
The record was created successfully and is returned in the response payload.
The request payload, path, or query parameters failed validation.
Authentication credentials are missing or invalid.
The authenticated caller is not permitted to perform the operation.
The record identified by the request could not be located.
The request conflicts with the current state of the record.
An unexpected error prevented the request from completing.