Order

Representation of an order placed by a customer

Fortune 500FranchisingHospitalityNYSE QSRQuick Service RestaurantsRestaurant

Properties

Name Type Description
id object Internal order ID
externalReferenceId object
storeId object Internal store ID
cart object
serviceMode object
customer object
charges object
discounts object
payment object
posVendor object
status object
deliveryAddress object Where the order will be delivered (only delivery orders)
loyaltyPointsEarned integer Amount of Loyalty Points earned on this order
errors array Any errors which occurred during order processing
createdAt object When the order was first created
updatedAt object When the order was last updated
fireOrderInSeconds object
preparationTimeInSeconds integer Estimated time it takes to prepare an order
readyInSeconds object
View JSON Schema on GitHub

JSON Schema

channel-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Order",
  "description": "Representation of an order placed by a customer",
  "$id": "https://raw.githubusercontent.com/api-evangelist/restaurant-brands/refs/heads/main/json-schema/channel-order-schema.json",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/OrderId",
      "description": "Internal order ID"
    },
    "externalReferenceId": {
      "$ref": "#/components/schemas/ExternalReferenceId"
    },
    "storeId": {
      "$ref": "#/components/schemas/StoreId",
      "description": "Internal store ID"
    },
    "cart": {
      "$ref": "#/components/schemas/CartPriced"
    },
    "serviceMode": {
      "$ref": "#/components/schemas/ServiceMode"
    },
    "customer": {
      "$ref": "#/components/schemas/Customer"
    },
    "charges": {
      "$ref": "#/components/schemas/Charges"
    },
    "discounts": {
      "$ref": "#/components/schemas/Discounts"
    },
    "payment": {
      "$ref": "#/components/schemas/Payment"
    },
    "posVendor": {
      "$ref": "#/components/schemas/PosVendor"
    },
    "status": {
      "$ref": "#/components/schemas/OrderStatus"
    },
    "deliveryAddress": {
      "$ref": "#/components/schemas/Address",
      "description": "Where the order will be delivered (only delivery orders)"
    },
    "loyaltyPointsEarned": {
      "type": "integer",
      "description": "Amount of Loyalty Points earned on this order",
      "minimum": 0,
      "example": 15
    },
    "errors": {
      "description": "Any errors which occurred during order processing",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/POSOrderError"
      }
    },
    "createdAt": {
      "$ref": "#/components/schemas/DateTime",
      "description": "When the order was first created"
    },
    "updatedAt": {
      "$ref": "#/components/schemas/DateTime",
      "description": "When the order was last updated"
    },
    "fireOrderInSeconds": {
      "$ref": "#/components/schemas/FireOrderInSeconds"
    },
    "preparationTimeInSeconds": {
      "type": "integer",
      "description": "Estimated time it takes to prepare an order",
      "minimum": 0,
      "example": 300
    },
    "readyInSeconds": {
      "$ref": "#/components/schemas/ReadyInSeconds"
    }
  },
  "required": [
    "id",
    "cart",
    "customer",
    "storeId",
    "charges",
    "status",
    "channel",
    "serviceMode",
    "createdAt",
    "updatedAt",
    "posVendor",
    "fireOrderInSeconds",
    "preparationTimeInSeconds",
    "readyInSeconds"
  ]
}

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/channel-order"
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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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