TheFork · Example Payload

Thefork Pos Create Order Example

RestaurantReservationsBookingDiningPoint-of-SaleMarketplace

Thefork Pos Create Order Example is an example object payload from TheFork, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "path": "{receiptOpeningUrl}",
    "headers": { "Authorization": "Bearer <access_token>", "CustomerId": "b6f0c2d4-1111-2222-3333-444455556666", "Content-Type": "application/json" },
    "body": {
      "orderId": "2c1f7e90-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
      "createdAt": "2026-06-20T20:35:00Z",
      "reservationStatus": "CONFIRMED",
      "partySize": 4,
      "startTime": "2026-06-20T20:30:00Z",
      "customer": { "id": "cus_55ab", "firstName": "Camille", "lastName": "Durand", "allergies": ["peanuts"] },
      "tables": [{ "name": "T12", "areaName": "Terrace" }]
    }
  },
  "response": { "status": 204, "body": null }
}

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/thefork-pos-create-order-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 email required.

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