Adds a new category to your organization; the record is always created with status: 1 (published).
Auth: Authorization: Bearer <accessToken> — an organization-scoped token from Authentication. Integrator API users carry the category management permission by default.
Categories are also created automatically when you send items[].categories on transactions — see menu synchronization. Use this endpoint when you want to upload or manage the category tree explicitly.
Payload schema
Body
All fields except name are optional.
status is not accepted in the body — records are always created with 1 (use the delete endpoint to remove a category). organization is derived from your token; you cannot create categories for another organization. Fields outside the schema are silently dropped; type errors return 400 with the individual validation messages joined in message.
Example
Response
Returns 201 with the created category document.
Notes:
organization is set server-side from your token — trust the values in the response, not what you sent.
parent is not validated — sending an unknown id still creates the record; keeping the hierarchy consistent is the caller’s responsibility.
- Optional fields you did not send are omitted from the response — do not expect
null.
Last modified on September 29, 2026