Skip to main content
POST
Create a product category

Authorizations

Authorization
string
header
required

Organization-scoped bearer credential: a customer API key (1club_sk_live_...) or an MCP OAuth access token.

Headers

Idempotency-Key
string

Retry-safe key; a repeat of the same request replays the first response

Maximum string length: 255

Body

application/json
name
string
required
Maximum string length: 255
sortOrder
integer

Display position; defaults to the end of the list

Required range: x >= 0

Response

Product category created

How products are grouped - the tabs on the till and the sections of a shop page.

categoryId
integer
name
string
sortOrder
integer

Ascending display order; ties fall back to name.

productCount
integer

Products currently in this category, active and inactive.

createdAt
string<date-time>
updatedAt
string<date-time>