Otter · JSON Structure

Public Api Intent To Cancel Event Structure

Event that request the intent to cancel an order.

Type: object Properties: 2
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

IntentToCancelEvent is a JSON Structure definition published by Otter, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

externalIdentifiers cancellationReason

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-intent-to-cancel-event-structure.json",
  "name": "IntentToCancelEvent",
  "description": "Event that request the intent to cancel an order.",
  "type": "object",
  "properties": {
    "externalIdentifiers": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-order-external-identifiers-schema.json"
    },
    "cancellationReason": {
      "type": "string",
      "description": "The reason for a cancellation.",
      "enum": [
        "REASON_UNKNOWN",
        "DUPLICATE_ORDER",
        "UNAVAILABLE_ITEM",
        "FRAUDULENT_EATER",
        "RESTAURANT_INTERNAL_ISSUE",
        "KITCHEN_CLOSED",
        "CUSTOMER_CALLED_TO_CANCEL",
        "CANNOT_COMPLETE_CUSTOMER_REQUEST",
        "RESTAURANT_TOO_BUSY",
        "UNACCEPTED_ORDER",
        "RESTAURANT_CANCELED",
        "AUTOMATICALLY_CANCELED",
        "LATE_DELIVERY",
        "COURIER_NOT_FOUND",
        "CUSTOMER_NOT_FOUND",
        "UNABLE_TO_DELIVER"
      ],
      "example": "REASON_UNKNOWN"
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/public-api-intent-to-cancel-event-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.