Olo · Example Payload

Olo Promotions Validate Example

Food ServiceRestaurantOnline OrderingDeliveryPoint-of-SaleHospitalityPaymentsLoyaltyMarketing

Olo Promotions Validate Example is an example object payload from Olo, with 20 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

orderIdaccountIdsourcehandoffcurrencyplacedwantedstoreNumberrestaurantbrandsubtotaltaxtipdeliverycustomFeesdiscounttotaladdresspaymentsbasket

Example Payload

Raw ↑
{
  "orderId": null,
  "accountId": "044d8de0-0978-40f2-aab6-07aadea2a876",
  "source": "Other",
  "handoff": "Pickup",
  "currency": "USD",
  "placed": null,
  "wanted": null,
  "storeNumber": "193",
  "restaurant": "192498",
  "brand": "193",
  "subtotal": 15.00,
  "tax": 0.00,
  "tip": 0.00,
  "delivery": 0.00,
  "customFees": 0.0,
  "discount": 0.0,
  "total": 15.00,
  "address": null,
  "payments": null,
  "basket": {
    "id": "8521027f-1a81-4f53-afc6-e0c7e19f9ea5",
    "rewards": [
      {
        "provider": "Mock Promotions API",
        "id": "abcd1234",
        "level": "Basket",
        "product": null,
        "discount": 0.0
      }
    ],
    "coupons": [
      {
        "provider": null,
        "id": null,
        "level": "Basket",
        "product": null,
        "discount": 0.0
      }
    ],
    "entries": [
      {
        "quantity": 3,
        "item": {
          "product": "534035",
          "label": "Cheeseburger",
          "cost": 5.00
        }
      }
    ],
    "posEntries": [
      {
        "quantity": 3,
        "posItem": {
          "product": "51242557",
          "categories": [],
          "modifiers": [],
          "label": "Cheeseburger",
          "cost": 5.00
        }
      }
    ]
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example 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 example
curl "https://apis.io/api/v1/examples/olo-promotions-validate-example"
All examples
curl "https://apis.io/api/v1/examples?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.