Otter · Schema

OrderTotal

Details about values of the order.

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
subtotal number The order's subtotal, as the sum of all item and modifier prices.
claimedSubtotal number The order's claimed subtotal, without guaranteeing this will match calculated subtotal.
discount number Any discount amount for the order.
tax number Tax paid by the customer.
tip number Tip paid by the customer.
deliveryFee number Delivery fee.
total number Order total including everything paid by the customer.
couponCode string Coupon code applied to the order.
View JSON Schema on GitHub

JSON Schema

public-api-order-total-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OrderTotal",
  "description": "Details about values of the order.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-order-total-schema.json",
  "type": "object",
  "properties": {
    "subtotal": {
      "type": "number",
      "description": "The order's subtotal, as the sum of all item and modifier prices.",
      "example": 11.97
    },
    "claimedSubtotal": {
      "type": "number",
      "nullable": true,
      "description": "The order's claimed subtotal, without guaranteeing this will match calculated subtotal.",
      "example": 1.0
    },
    "discount": {
      "type": "number",
      "nullable": true,
      "description": "Any discount amount for the order.",
      "example": 1
    },
    "tax": {
      "type": "number",
      "nullable": true,
      "description": "Tax paid by the customer.",
      "example": 1.1
    },
    "tip": {
      "type": "number",
      "nullable": true,
      "description": "Tip paid by the customer.",
      "example": 2
    },
    "deliveryFee": {
      "type": "number",
      "nullable": true,
      "description": "Delivery fee.",
      "example": 5
    },
    "total": {
      "type": "number",
      "nullable": true,
      "description": "Order total including everything paid by the customer.",
      "example": 19.07
    },
    "couponCode": {
      "type": "string",
      "nullable": true,
      "description": "Coupon code applied to the order.",
      "example": "VWXYZ98765"
    }
  },
  "required": [
    "subtotal"
  ]
}

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/public-api-order-total"
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.