Create a promotional offer
Promotions
Create a promotional offer
Create a promotional offer with a discount, scope, and optional conditions/validity window.
POST
Create a promotional offer
Authorizations
Staff session or API token issued by your Voyant app.
Body
application/json
Required string length:
1 - 200Required string length:
1 - 200Pattern:
^[a-z0-9-]+$Available options:
percentage, fixed_amount Discriminated union on kind: global | products | categories | destinations | markets | audiences | fare_codes | cabin_grades.
Required when discountType=percentage (>0, <=100)
Required (with currency) when discountType=fixed_amount
3-letter ISO 4217; required with fixed_amount
Required string length:
1 - 80Pattern:
^[A-Za-z0-9_-]+$Response
201 - application/json
Created offer