Skip to main content
POST
Create a membership plan 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

Plan category created

How membership plans are grouped - the headings on a price list and the sections of a plans page.

categoryId
integer
name
string
sortOrder
integer

Ascending display order; ties fall back to name.

planCount
integer

Membership plans currently in this category, active and retired.

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