ApplicableDiscountsRequest

A wrapper object that contains an Order object and an optional promotional code.

You include an ApplicableDiscountsRequest object in the message body of a POST request to the applicableDiscounts endpoint.

required
object (Order)

A wrapper object with fields that allow reference to a Toast entity by Toast GUID.

promoCode
string

An optional promotional code. If you include a promotional code, the applicableDiscounts endpoint returns only discounts that are associated with that promotional code.

{
  • "order": {
    },
  • "promoCode": "string"
}