Admin — create a campaign

ADMIN

Registers a campaign. campaign_id must be free, and every client_id
must not already belong to another campaign — a shared client id breaks
token issuance for that client rather than shadowing the other campaign.

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

Registers a campaign. Only campaign_id is required — the rest can be filled in later with PATCH.

string
required
client_ids
array of strings
client_ids
string
string
string
string
string
string
string
enum
Allowed:
string
string
enum

How a VOUCHER campaign's unlock codes apply across a basket. PER_PRODUCT (the default) unlocks one unit per code; WHOLE_BASKET unlocks every unit from a single code. Ignored for other discount types.

Allowed:
loyalty_awards
object
string
supported_locales
array of strings
supported_locales
string
string
date-time | null
date-time | null
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
Missing 1 required scope
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json