Skip to main content

setDiscountCode

Set the discount code applied to availability searches, if discount code use is enabled.

Example

rpt({ command: "setDiscountCode", payload: { discountCode: "CODE25" } });

Payload

PropertyTypeDescription
discountCodestringA discount code as specified in the booking engine