CreateUniquePromoCodeCampaign
GET/account/:accountKey/promocodecampaigns
You can request the creation of several Unique Promo Codes in advance. In this case, you are responsible for distributing the codes. The API allows you to create a single Promo Code campaign, with a reference code (the one to which you associate a promotion in your system, e.g. PROMO20) and an expiry date. Then, in the same way as for BEYABLE OnSite campaigns, you can validate the Unique Promo Codes entered by the visitor with the BEYABLE OnSite Campaigns API.
Request
Path Parameters
accountKey anyrequired
Query Parameters
downloadcsv bool
Possible values: [true
, false
]
Default value: false
To obtain a csv
Responses
- 200
- 400
- 401
- 409
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
[
{
"Code": "code1",
"CampaignKey": "key1",
"CreationDateUtc": "yyyy-MM-dd HH:mm"
},
{
"Code": "code2",
"CampaignKey": "key1",
"CreationDateUtc": "yyyy-MM-dd HH:mm"
}
]
[
{
"Code": "code1",
"CampaignKey": "key1",
"CreationDateUtc": "yyyy-MM-dd HH:mm"
},
{
"Code": "code2",
"CampaignKey": "key1",
"CreationDateUtc": "yyyy-MM-dd HH:mm"
}
]
Too many codes have been reserved, please contact BEYABLE support.
Loading...