This is fake endpoint to describe variant of POST /api/v2.1/campaigns

Create a campaign.

Body Params

Object to create

string

Nullable. String or null.

string
required

Alpha-3 code

string

Nullable. String or null.

int32

Nullable. The maximum number of redemptions available across all discount campaigns grouped by this campaign.

int32

Nullable. Integer or null

double

Nullable. The budget available for all discount campaigns grouped by this campaign.

int32

Nullable. Integer or null

string
required

The name of the campaign must be unique.

string
enum

Nullable. String or null.

Allowed:
string

Nullable. String or null.

string
enum

Nullable. Valid template values for MainCampaign are: discount, loyalty, gift_card. For SubCampaign valid templates are sub_redemption, sub_reward_points, sub_generate_vouchers.

Allowed:
string
enum
required

Main Campaign is a wrapper for multiple Sub Campaigns, grouped together. Main Campaign can have own budget and redemptions limit.

Allowed:
Responses

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