MarginEdge · Schema

GetAvailableRestaurantUnitsResponseModel

GetAvailableRestaurantUnitsResponseModel schema from MarginEdge Public API

RestaurantBack OfficeInvoicesInventoryAccountingReporting

Properties

Name Type Description
restaurants array
View JSON Schema on GitHub

JSON Schema

public-api-get-available-restaurant-units-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-available-restaurant-units-response-model-schema.json",
  "title": "GetAvailableRestaurantUnitsResponseModel",
  "description": "GetAvailableRestaurantUnitsResponseModel schema from MarginEdge Public API",
  "type": "object",
  "properties": {
    "restaurants": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the restaurant in MarginEdge",
            "example": "Sample Name"
          },
          "id": {
            "type": "number",
            "description": "Unique identifier of this restaurant that will be used in the request to all other API endpoints",
            "example": 12345
          }
        }
      }
    }
  }
}