A wrapper object with fields that allow reference to a Toast entity by Toast GUID.
object (AppliedDiscountReason) | |
appliedPromoCode | string The promo code that was applied for this discount. For a POSTed order, the Toast platform cannot validate the promo code. |
object (ExternalReference) A wrapper object with fields that allow reference to a Toast entity by Toast GUID. | |
Array of objects (ExternalReference) A list of menu item selections that this combo discount applies to. Empty for non-combo discounts. Response only. | |
object (ToastReference) A wrapper object with fields that allow reference to a Toast entity by Toast GUID. | |
discountAmount | number <double> The discount amount. This amount is subtracted from the check or item. |
discountPercent | number <double> The percent value (0-100) of the applied discount when the |
discountType | string The behavior of this discount. Valid values:
|
entityType required | string The type of object this is. Response only. |
externalId | string External identifier string that is prefixed by the naming authority. You can use the orders API to set an |
guid required | string The GUID maintained by the Toast platform. |
object (LoyaltyDetails) Information about the loyalty program discount that is applied to a check. The loyalty program account is identified in the | |
name | string The name of the applied discount. Response only. |
nonTaxDiscountAmount | number <double> The amount that a discount reduces a menu item price, excluding any discount amount applied to taxes. In most cases, a discount only applies to the menu item price, and
the If you apply a discount to a menu item that includes tax in
its price, the |
processingState | string Applies to loyalty program discounts only. Loyalty program reward discounts are validated and then applied, or redeemed, by the third-party loyalty program service provider depending on the state of the Toast platform order. This value indicates the state of the discount in that validation and application process. Response only. Valid values:
|
Array of objects (AppliedDiscountTrigger) Optional items that triggered this discount. Response only. |
{- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "name": "string",
- "discountAmount": 0,
- "nonTaxDiscountAmount": 0,
- "discount": {
- "guid": "string",
- "entityType": "string"
}, - "triggers": [
- {
- "selection": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "quantity": 0
}
], - "approver": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "processingState": "PENDING_APPLIED",
- "appliedDiscountReason": {
- "name": "string",
- "description": "string",
- "comment": "string",
- "discountReason": {
- "guid": "string",
- "entityType": "string"
}
}, - "loyaltyDetails": {
- "vendor": "TOAST",
- "referenceId": "string"
}, - "comboItems": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}
], - "appliedPromoCode": "string",
- "discountType": "BOGO",
- "discountPercent": 0
}