Toast · Schema
AppliedDiscountReason
AppliedDiscountReason schema from Toast API
Food ServicePoint of SaleRestaurantsHospitality
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the reason for the applied discount. |
| description | string | An optional description for the reason for the applied discount. |
| comment | string | An optional comment on the reason for the applied discount. |
| discountReason | object | A ToastReference object that contains the GUID for the discount reason configured for the discount. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/toast/refs/heads/main/json-schema/orders-applied-discount-reason-schema.json",
"title": "AppliedDiscountReason",
"description": "AppliedDiscountReason schema from Toast API",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the reason for the applied discount."
},
"description": {
"type": "string",
"description": "An optional description for the reason for the applied discount."
},
"comment": {
"type": "string",
"description": "An optional comment on the reason for the applied discount."
},
"discountReason": {
"type": "object",
"description": "A ToastReference object that contains the GUID for the discount reason configured for the discount.",
"$ref": "#/definitions/ToastReference"
}
}
}