8 API Reference‎ > ‎Resources‎ > ‎

Promotion

Promotion represents a promotional period when the offer is featured or shown in the publisher's application and available to consumers. This resource is mandatory for publishers who sell or distribute more then 50 vouchers per offer. Advertiser needs to be informed that his offer is about to be featured by the publisher so he can get prepared.

Common attributes:
  • id string.
  • start_date date.
  • end_date date.
Submission API specific attributes:
Distribution API specific attributes:
  • account_id string.
  • reservation_id string.

Data Example

JSON

{
    "id": "",
    "start_date": "",
    "end_date": "",
    "distributor": {Distributor},
    "account_id": "",
    "reservation_id": "",
}

XML

<promotion>
    <id></id>
    <start_date></start_date>
    <end_date></end_date>
    <distributor>Distributor</distributor>
    <account_id></account_id>
    <reservation_id></reservation_id>
</promotion>

Actions

Create Promotion


POST /offers/:id/promotions

Update Promotion


PUT /offers/:id/promotions/:id

Delete Promotion


DELETE /offers/:id/promotions/:id

Comments