MarginEdge · Schema

GetProductsResponseModel

GetProductsResponseModel schema from MarginEdge Public API

RestaurantBack OfficeInvoicesInventoryAccountingReporting

Properties

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

JSON Schema

public-api-get-products-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-products-response-model-schema.json",
  "title": "GetProductsResponseModel",
  "description": "GetProductsResponseModel schema from MarginEdge Public API",
  "type": "object",
  "properties": {
    "nextPage": {
      "type": "string",
      "description": "Unique key for the next page of results",
      "example": "eyJsYXN0SWQiOiAiMTIzNDUifQ=="
    },
    "products": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "centralProductId": {
            "type": "string",
            "description": "Identifier of the product across all restaurants in MarginEdge, if applicable. Not all products have a central identifier.",
            "example": "me-centralproduct-9f3a2b"
          },
          "latestPrice": {
            "type": "number",
            "description": "Most recent price of this product based on purchasing data",
            "example": 42.75
          },
          "reportByUnit": {
            "type": "string",
            "description": "Unit that this product is reported by in MarginEdge (e.g., EACH, POUND)",
            "example": "case"
          },
          "taxExempt": {
            "type": "boolean",
            "description": "Indicates whether this product is marked tax exempt",
            "example": true
          },
          "companyConceptProductId": {
            "type": "string",
            "description": "Identifier of the product unique within the company concept this restaurant belongs to",
            "example": "me-companyconceptproduct-9f3a2b"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "percentAllocation": {
                  "type": "number",
                  "description": "Percent allocation of the product to this category",
                  "example": 1
                },
                "categoryId": {
                  "type": "string",
                  "description": "Identifier of a category to which this product belongs",
                  "example": "me-category-9f3a2b"
                }
              }
            }
          },
          "productName": {
            "type": "string",
            "description": "Name of the product",
            "example": "Sample Product"
          },
          "itemCount": {
            "type": "number",
            "description": "Number of vendor items assigned to this product (in this restaurant)",
            "example": 3
          }
        }
      }
    }
  }
}

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-products-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.