Create product category

POST /api/v1/product-categories

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token
X-CompanystringYesCompany UUID
Content-TypestringYesapplication/json

Body

FieldTypeRequiredDescription
namestringYes1–100 characters, displayed on the POS chip
colorstringNoHex swatch — "#RRGGBB" or "RRGGBB". Invalid values are silently dropped.
sortOrderintegerNoDefault 0. Smaller = earlier in the chip strip

Response

201 Created — same shape as the list entry.

Permissions

Requires product.edit.