Create Reward Store

Creates a reward store in an application. It is always created in the draft state, so it is not published until you call Publish Reward Store. Requires a producer access token for the application.

A store can have at most one reward item, and it must belong to this application. A store can't be published without one. Sponsors, if you send any, must also belong to this application.

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
string
required
length ≤ 255

Name of the reward store. Max 255 characters.

reward_item_ids
array of uuids
length ≤ 1

The reward item that products in the store are priced in. At most one, and it must belong to this application.

reward_item_ids
sponsor_ids
array of uuids

Sponsors to attach to the store. Each must belong to this application.

sponsor_ids
string

Free text, for example serialized JSON.

attributes
array of objects

Key and value pairs. Both key and value are required. The same key can repeat with different values, but an identical key and value 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