Create Category

Creates a category inside a reward store. It is always created in the draft state, so it is not visible to members until you publish it. Requires a producer access token for the application.

The store must be an active store in this application, and it can't be changed later. The name must be unique among the store's active categories. If you leave out sequence, the category goes to the next free position. A category needs a sequence and a description before it can be published.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The client ID of the application.

Body Params
uuid
required

The reward store this category belongs to. It must be an active store in this application and can't be changed later.

string
required
length ≤ 255

Name of the category. Max 255 characters, and unique among the store's active categories.

string

Description of the category. Required before the category can be published.

integer | null
≥ 0

Position of the category in the store, zero or higher. If omitted, it goes to the next free position. Must be unique among the store's active categories.

string

Free text, for example serialized JSON.

attributes
array of objects

Key and value pairs. Both key and value are required. An identical pair twice is rejected.

attributes
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json