MarginEdge · Schema

GetOrdersResponseModel

GetOrdersResponseModel schema from MarginEdge Public API

RestaurantBack OfficeInvoicesInventoryAccountingReporting

Properties

Name Type Description
nextPage string Unique key for the next page of results
orders array
View JSON Schema on GitHub

JSON Schema

public-api-get-orders-response-model-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/marginedge/refs/heads/main/json-schema/public-api-get-orders-response-model-schema.json",
  "title": "GetOrdersResponseModel",
  "description": "GetOrdersResponseModel schema from MarginEdge Public API",
  "type": "object",
  "properties": {
    "nextPage": {
      "type": "string",
      "description": "Unique key for the next page of results",
      "example": "eyJsYXN0SWQiOiAiMTIzNDUifQ=="
    },
    "orders": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "createdDate": {
            "type": "string",
            "description": "Date the order was created in MarginEdge, formatted YYYY-MM-DD",
            "example": "2026-05-01"
          },
          "orderId": {
            "type": "string",
            "description": "An identifier of the order in MarginEdge, unique within this restaurant",
            "example": "me-order-9f3a2b"
          },
          "invoiceNumber": {
            "type": "string",
            "description": "Vendor\u2019s invoice number for this order",
            "example": "INV-100245"
          },
          "vendorId": {
            "type": "string",
            "description": "An identifier of the vendor for this order in MarginEdge, unique within this restaurant",
            "example": "me-vendor-9f3a2b"
          },
          "vendorName": {
            "type": "string",
            "description": "Name of the vendor for this order",
            "example": "Sample Vendor"
          },
          "customerNumber": {
            "type": "string",
            "description": "Vendor\u2019s customer number for this order",
            "example": "INV-100245"
          },
          "invoiceDate": {
            "type": "string",
            "description": "Invoice date for this order, formatted YYYY-MM-DD",
            "example": "2026-05-01"
          },
          "paymentAccount": {
            "type": "string",
            "description": "Name of the payment account in MarginEdge used for this order",
            "example": "example"
          },
          "orderTotal": {
            "type": "number",
            "description": "The final order total reflecting any necessary handwritten adjustments, based on the configured vendor credit mode for this vendor",
            "example": 42.75
          },
          "status": {
            "type": "string",
            "description": "Current invoice status for this order.  See Glossary for more information about the valid values for this field.",
            "example": "PROCESSED"
          }
        }
      }
    }
  }
}

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-get-orders-response-model"
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.