MarginEdge · JSON Structure

Public Api Get Orders Response Model Structure

GetOrdersResponseModel schema from MarginEdge Public API

Type: object Properties: 2
RestaurantBack OfficeInvoicesInventoryAccountingReporting

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

Properties

nextPage orders

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/marginedge/refs/heads/main/json-structure/public-api-get-orders-response-model-structure.json",
  "name": "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": "double",
            "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 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-get-orders-response-model-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 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.