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.

post/{client_id}/reward-stores/

Request

  • Base URL
    https://cf-blast.livelikecdn.com/api/v1/applications
  • URL
    https://cf-blast.livelikecdn.com/api/v1/applications/{client_id}/reward-stores/
  • Auth
    API key in header Authorization

Path parameters

client_idstring required

The client ID of the application.

Request body

namestring required

Name of the reward store. Max 255 characters.

reward_item_idsstring[]

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

sponsor_idsstring[]

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

custom_datastring

Free text, for example serialized JSON.

Response

Created. The store is returned in the draft state.

idstring uuid
namestring
statestring
is_activeboolean
custom_datastring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.