Updates a day-of-the-week promotion. Specify only those fields that need to be modified. We recommend that you retrieve the latest data stored for the promotion on the Expedia platform (by issuing the property query and specifying the promotion ID) before issuing this mutation.
Property ID. If using an external ID (from your system, source is SUPPLIER),
specify the ID in this format: system_ID/advertiser_ID/property_ID. If the
source is EXPEDIA, this is the Expedia ID (EID).
A type representing a Date in ISO 8601 format (such as 2007-12-03).
DateTime
DateTime
A type representing a date time (such as 2007-12-03T10:15:30).
DayOfWeekDiscount
Object
Day-of-week discounts enable partners to set discount percentages for specific
days of the week. The day fields specify the discount for that day of the week
for the travel dates (such as Mondays at 15%, Tuesdays at 10% discount).
Name of the promotion. Only these characters are supported: a-z, A-Z, 0-9,
, /.,':!?$%() \\- This field is returned in our booking APIs if a
reservation is created for a product that has an active promotion. It is
returned in PromotionCode for the Booking Notification API and in
promoName for Booking Retrieval API.
Exception (blackout) dates for which the promotion should NOT apply. This
field is only returned when querying for a single promotion (by specifying the promotion ID).
Name of the promotion. This field is returned in our booking APIs if a
reservation is created for a product that has an active promotion. It is
returned in PromotionCode for the Booking Notification API and in
promoName for Booking Retrieval API.
The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.
ID
ID
The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
IdSource
Enum
Source of a given ID.
Name
Description
EXPEDIA
Expedia is the source of the ID.
SUPPLIER
Connectivity partner or supplier is the source of the ID. This value is not supported for use in promotions.
VRBO
Vrbo (HomeAway) is the source of the ID. This value cannot be used as an
argument value, and it is not supported for use in promotions.
Int
Int
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
LocalTime
LocalTime
A type representing a time (such as 10:15:30).
MultiNightDiscount
Object
Multi-night discounts offer percentage-based discounts for applicable nights (such as 15% off a third night).
Field
Description
applicableNight
Not nullable.
Value of the applicable night to which the discount is applied. Permitted values are 2 to 28.
Whether the discount applied on the applicable night is recurring. For
example, if applicableNight is set to 3 and isRecurring is set to true,
the discount will be applied to the third, sixth, ninth nights (and so on).
Priced (discount) promotion. That is, the traveler benefit here is monetary savings via promotions.
PromotionName
Enum
Name
Description
BASIC_PROMOTION
Flexible offer with restrictions defined by the supplier. You can specify this
value when creating or updating single and day-of-week discounts.
EARLY_BOOKING_PROMOTION
Discount offered to travelers who want to book early. You can specify this
value when creating or updating single and day-of-week discounts.
MULTI_NIGHT_PROMOTION
Multi-night discount that offers a percentage-based discount for applicable
nights. You can specify this value when creating or updating multi-night
discounts only.
SAME_DAY_PROMOTION
Discount offered to attract last-minute travelers by setting up a recurring
deal when the travel date is the same as the booking date. You can specify
this value when creating or updating single discounts only.
PromotionStatus
Enum
Name
Description
ACTIVE
INACTIVE
Restrictions
Object
Field
Description
bookingLocalDateTimeFrom
Beginning of the reservation date range for which this promotion is
applicable. Format is YYYY-MM-DDThh:mm:ss, in the property’s local time zone.
Whether this promotion is applicable only for travelers booking on the mobile
device. This field is returned when querying for a single promotion only (by
specifying the promotion ID).
End of the reservation date range for which this promotion is applicable.
Format is YYYY-MM-DDThh:mm:ss, in the property’s local time zone. If the dates
are the same in bookingLocalDateTimeFrom and bookingLocalDateTimeTo, make
sure the timestamp in this field is at least one minute later than in
bookingLocalDateTimeFrom.
Additional discounts that are available only for members shopping on Expedia.
For example, if the regular discount is 10% and memberOnlyAdditionalValue is
set to 5, a member will receive a 15% discount and a non-member will receive a 10% discount.
Maximum duration of stay for which the promotion can be applicable. The
maximum value is 28. For multi-night discounts, this value cannot be less than
applicableNight in MultiNightDiscount.
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.