Toast · Schema

ApplicableDiscount

A wrapper object that contains information about a discount that you can apply to an order, and which checks or menu item selections you can apply it to.

Food ServicePoint-of-SaleRestaurantHospitality

Properties

Name Type Description
discount object A `ToastReference` object containing the identifiers of the discount. Response only.
applicableChecks array If the discount is applicable to a check, this value holds an array of `ExternalReference` objects containing the identifiers of the checks.
applicableSelections array If the discount is applicable to a menu item selection, this value holds an array of `ExternalReference` objects containing the identifiers of the menu items.
View JSON Schema on GitHub

JSON Schema

orders-applicable-discount-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/toast/refs/heads/main/json-schema/orders-applicable-discount-schema.json",
  "title": "ApplicableDiscount",
  "description": "A wrapper object that contains information about a discount that you\ncan apply to an order, and which checks or menu item selections\nyou can apply it to.\n",
  "type": "object",
  "required": [
    "discount"
  ],
  "properties": {
    "discount": {
      "x-toast-read-only": true,
      "description": "A `ToastReference` object containing the identifiers of the discount.\nResponse only.\n",
      "type": "object",
      "$ref": "#/definitions/ToastReference"
    },
    "applicableChecks": {
      "description": "If the discount is applicable to a check, this value holds an\narray of `ExternalReference` objects containing the identifiers of the checks.\n",
      "type": "array",
      "items": {
        "$ref": "#/definitions/ExternalReference"
      }
    },
    "applicableSelections": {
      "description": "If the discount is applicable to a menu item selection, this\nvalue holds an array of `ExternalReference` objects containing\nthe identifiers of the menu items.\n",
      "type": "array",
      "items": {
        "$ref": "#/definitions/ExternalReference"
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/orders-applicable-discount"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.