id read-only |
String |
|
href read-only |
Field |
|
name required |
String |
The name of this promotion. |
date_created |
Datetime |
The time when the resource was created, in the standard Dates & Times. |
date_last_modified |
Datetime |
The time when the resource was last modified, in the standard Dates & Times. |
promotion_code required |
String |
A unique code for this promotion. |
booking_companies read-only |
Field |
The booking_company that own this promotion, and are in charge of its inventory and sale. |
|
String |
|
|
Field |
|
|
String |
Company name |
discount_amount required |
Decimal |
The fixed discount amount to be subtracted from the price of any product. |
discount_percent required |
Decimal |
The discount percent to be applied to the price of any products associated with the promotion. For example, “10.00” represents a 10% discount while “0.50” represents a 0.5% discount. |
commission_rate required |
Decimal |
The commission rate for this promotion. If not NULL, this will override the default commission rate on the product for which the promotion is applied. |
min_travellers required |
Integer |
The minimum number of travellers on a booked product service for which this promotion can be applied. |
sale_start_date required |
Date |
The earliest date (starting 00:01 EST on this day) this promotion can be applied to a booked service, in the standard Dates & Times. |
sale_finish_date required |
Date |
The date on which this promotion expires, and can no longer be applied to a booked service, in the standard Dates & Times. |
sale_start_datetime required |
Datetime |
The earliest date and time in UTC on which this promotion can be applied to a booked service, in the standard Dates & Times. |
sale_finish_datetime required |
Datetime |
The date and time in UTC on which this promotion expires, and can no longer be applied to a booked service, in the standard Dates & Times. |
product_start_date required |
Date |
For seasonal products, an inclusive date range is specified in the ‘start_date’ and ‘finish_date’ fields. When a promotion is associated with a seasonal product, this field indicates the earliest date for which the promotion is applicable. |
product_finish_date required |
Date |
For seasonal products, an inclusive date range is specified in the ‘start_date’ and ‘finish_date’ fields. When a promotion is associated with a seasonal product, this field indicates the lates date for which the promotion is applicable. |
terms_and_conditions required |
String |
The terms and conditions for the promotion. |
currencies required |
List |
A list of currencies for which the promotion is applicable, The currency ISO code, in the standard Currencies & Prices. |
room_codes required |
List |
A list of departure room codes for which the promotion is applicable. If not NULL, each value relates to the ‘code’ field in the ‘rooms’ data of a departure resource (i.e. the promo is only applicable to specific rooming options). |
flags required |
List |
A list of codes that, when present, require special considerations when applying this promotion to a booked service.
NO_OPTIONS: the promotion can only be applied to a confirmed service.
APPLY_AUTOMATICALLY: the promotion is applied automatically when a service is booked for a product that is associated with the promotion.
MAX_USES: the promotion has reached its maximum number of uses and can no longer be applied.
AGENCY_EXCLUSIVE: The promotion is exclusive to your agency.
|
products required |
Field |
A list of products that are associated with the promotion (i.e. promotion can be applied to these products). |
|
String |
|
|
Field |
The target URI for this resource. href corresponds with the
Target IRI
as defined in Web Linking (RFC 5988). |
|
String |
The type of this resource. |
|
String |
The product category: Tour, Hotel, Transfer, Product |