A wrapper object with fields that allow reference to a Toast entity by Toast GUID.
Array of objects (AppliedDiscount) >= 0 items The itemized discounts applied to this item. | |
Array of objects (AppliedTaxRate) An array of AppliedTaxRate objects that contain information about tax payments made for the selection. | |
createdDate | string <date-time> The date at which this selection was created. Defaults to current time if not specified. Use ISO 8601 date and time format for all Toast APIs. |
deferred | boolean Whether this selection is a deferred revenue transaction, e.g. gift card sales. |
displayName | string The display name of the selection. This field can be used to set a special request value, otherwise it will be generated from this Selection's item property. |
entityType required | string The type of object this is. |
externalId | string External identifier string that is prefixed by the naming authority. |
fulfillmentStatus | string Default: "NEW" Indicates the stage of the preparation workflow that the
menu item selection is in. The
|
guid required | string The GUID maintained by Toast. |
required | object (ConfigReference) A wrapper object with fields that allow reference to a Toast entity by Toast GUID. |
object (ConfigReference) A wrapper object with fields that allow reference to a Toast entity by Toast GUID. | |
modifiedDate | string <date-time> The date at which this selection was last modified. Defaults to current time if not specified. Use ISO 8601 date and time format for all Toast APIs. |
modifiers | Array of objects (Selection) A list of modifiers applying to this selection. |
object (ConfigReference) A wrapper object with fields that allow reference to a Toast entity by Toast GUID. | |
preDiscountPrice | number <double> Gross sale price for this selection. Excludes tax. |
object (ConfigReference) A wrapper object with fields that allow reference to a Toast entity by Toast GUID. | |
price | number <double> Net price for this selection. The final price of the item after considering discounts (including discounts at the check level), quantity adjustments, and modifier prices at the time the item was selected for purchase. |
quantity required | number <double> Quantity ordered. A decimal number for items sold by weight; a counting number for discrete items. |
object (ConfigReference) A wrapper object with fields that allow reference to a Toast entity by Toast GUID. | |
selectionType | string Specifies whether this selection is a special request or other off-menu sale. If left null or NONE, describes a normal modifier or item selection. |
tax | number <double> The total tax amount for this selection. |
taxInclusion | string Indicates whether the menu item price includes one or more tax amounts. If the menu item is a modifier for another menu item selection, it always inherits the tax inclusion behavior of the menu item it applies to. Values are:
|
unitOfMeasure | string The unit of measure required for weighing the item. Default is NONE, which means the item is not meant to be weighed. |
voidBusinessDate | integer The business date (yyyyMMdd) on which this selection was voided. |
voidDate | string <date-time> The date at which this selection was voided. Use ISO 8601 date and time format for all Toast APIs. |
voided | boolean True if this selection has been voided. |
object (ExternalReference) A wrapper object with fields that allow reference to a Toast entity by Toast GUID. |
{- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "item": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": null,
- "externalId": "string"
}, - "itemGroup": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": null,
- "externalId": "string"
}, - "optionGroup": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": null,
- "externalId": "string"
}, - "preModifier": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": null,
- "externalId": "string"
}, - "quantity": 0,
- "unitOfMeasure": "NONE",
- "selectionType": "NONE",
- "salesCategory": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": null,
- "externalId": "string"
}, - "appliedDiscounts": [
- {
- "guid": "string",
- "entityType": "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",
- "loyaltyDetails": {
- "vendor": "INTEGRATION",
- "referenceId": "string"
}, - "comboItems": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}
], - "appliedPromoCode": "string"
}
], - "deferred": true,
- "preDiscountPrice": 0,
- "price": 0,
- "tax": 0,
- "voided": true,
- "voidDate": "2019-08-24T14:15:22Z",
- "voidBusinessDate": 0,
- "voidReason": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "displayName": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "modifiers": [
- { }
], - "fulfillmentStatus": "NEW",
- "taxInclusion": "INCLUDED",
- "appliedTaxes": [
- {
- "guid": "string",
- "entityType": "string",
- "taxRate": {
- "guid": "string",
- "entityType": "string"
}, - "name": "string",
- "rate": 0,
- "taxAmount": 0,
- "type": "PERCENT"
}
]
}