campaigns
Create new campaign
Create a new campaign to group discount rules
scopes:
- admin:discounts
- write:discounts
POST
aid_discounts_campaigns_post
Authorizations
Bearer authentication (token authentication) should be used for accessing the API.
Use Get Token to get an access token for client credentials. Pass the token in the request header:
where the access_token is JSON Web Tokens (JWT).
Path Parameters
Body
application/json
Campaign to create
Discount Campaign
The campaign is private and will be excluded from public rules when filtered by campaign_id
Response
Campaign created
Discount Campaign
The campaign is private and will be excluded from public rules when filtered by campaign_id