Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Comma-separated fields that should be included in the returned data. if a field is prefixed with +
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.
Body
The promotion's details.
The promotion's code.
The promotion's type.
standard
, buyget
The ID of the campaign that the promotion belongs to.
The promotion's application method.
Whether the promotion is applied automatically.
The details of a campaign to create and add the promotion to it.
The promotion's rules.
Pass additional custom data to the API route. This data is passed to the underlying workflow under the additional_data
parameter.
Response
OK
The promotion's details.
The promotion's details.