# One area's menu (composite document)

Requires scope `menu:read`. Returns that area's categories with nested items, plus uncategorized items. Not paginated. `areaId` is REQUIRED: a menu belongs to an area, not a venue — a dine-in room, a to-go counter and an online storefront are different areas with different menus. Call `/areas` to discover them.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "NX Public API",
    "version": "1.0.0",
    "description": "Public marketplace API. Authenticate via POST /oauth/token (client-credentials + venueId) to obtain a short-lived bearer token, then call resource endpoints. Tokens are venue-pinned: each is scoped to a single venue and the scopes granted to that integration."
  },
  "servers": [
    {
      "url": "https://prod.api.nxapp.net/public/v1"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Bearer token from /oauth/token."
      }
    },
    "schemas": {
      "Meta": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string"
          },
          "cursor": {
            "type": "string",
            "description": "Opaque pagination cursor; present when more results exist."
          }
        },
        "required": [
          "requestId"
        ]
      },
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "description": "Stable, machine-readable error code (e.g. RESOURCE_NOT_FOUND)."
              },
              "message": {
                "type": "string"
              },
              "details": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              },
              "requestId": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message",
              "requestId"
            ]
          }
        },
        "required": [
          "error"
        ]
      },
      "MenuCategory": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "isModifier": {
            "type": "boolean"
          },
          "priority": {
            "type": "number"
          },
          "color": {
            "type": "string"
          },
          "buttonColor": {
            "type": "string"
          },
          "textColor": {
            "type": "string"
          },
          "iconName": {
            "type": "string"
          },
          "imageId": {
            "type": "string"
          },
          "onlineImageId": {
            "type": "string"
          },
          "kioskImageId": {
            "type": "string"
          },
          "onlineThumbnailImageId": {
            "type": "string"
          },
          "isDisplayPrice": {
            "type": "boolean"
          },
          "checkSources": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "id",
          "name",
          "isActive",
          "isModifier"
        ]
      },
      "MenuItemPrice": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "pricePointId": {
            "type": "string"
          },
          "price": {
            "type": "number"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "price"
        ]
      },
      "MenuItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "isOutOfStock": {
            "type": "boolean"
          },
          "onHandCount": {
            "type": "number"
          },
          "defaultPrice": {
            "type": "number"
          },
          "minPrice": {
            "type": "number"
          },
          "maxPrice": {
            "type": "number"
          },
          "buttonColor": {
            "type": "string"
          },
          "onlineDetailImageId": {
            "type": "string"
          },
          "onlineListImageId": {
            "type": "string"
          },
          "onlineDetailImageUrl": {
            "type": "string",
            "description": "Permanent public S3 URL. Not a presigned link — it does not expire."
          },
          "onlineListImageUrl": {
            "type": "string",
            "description": "Permanent public S3 URL. Not a presigned link — it does not expire."
          },
          "categoryIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "prices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MenuItemPrice"
            }
          },
          "salesCategoryId": {
            "type": "string"
          },
          "defaultModifierPrice": {
            "type": "number"
          },
          "isWeightBased": {
            "type": "boolean"
          },
          "taxIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Taxes that apply to this item, exploded from its tax groups."
          },
          "taxGroupIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "modifierGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MenuItemModifierGroup"
            }
          },
          "prepModifierIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "id",
          "name"
        ]
      },
      "MenuItemModifierGroup": {
        "type": "object",
        "description": "A modifier group offered on this item: the menu category holding the choices, plus the selection rules.",
        "properties": {
          "menuCategoryId": {
            "type": "string"
          },
          "minimumItemCount": {
            "type": "number"
          },
          "maximumItemCount": {
            "type": "number"
          },
          "allowMultiple": {
            "type": "boolean"
          },
          "freeItemCount": {
            "type": "number"
          },
          "sortOrder": {
            "type": "number"
          }
        },
        "required": [
          "menuCategoryId"
        ]
      },
      "MenuCategoryWithItems": {
        "allOf": [
          {
            "$ref": "#/components/schemas/MenuCategory"
          },
          {
            "type": "object",
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MenuItem"
                }
              }
            },
            "required": [
              "items"
            ]
          }
        ]
      },
      "Menu": {
        "type": "object",
        "properties": {
          "areaId": {
            "type": "string"
          },
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MenuCategoryWithItems"
            }
          },
          "uncategorizedItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MenuItem"
            }
          }
        },
        "required": [
          "areaId",
          "categories",
          "uncategorizedItems"
        ]
      }
    }
  },
  "paths": {
    "/menu": {
      "get": {
        "summary": "One area's menu (composite document)",
        "description": "Requires scope `menu:read`. Returns that area's categories with nested items, plus uncategorized items. Not paginated. `areaId` is REQUIRED: a menu belongs to an area, not a venue — a dine-in room, a to-go counter and an online storefront are different areas with different menus. Call `/areas` to discover them.",
        "parameters": [
          {
            "name": "areaId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Area whose menu to return (see /areas)."
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Menu"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 106,
      "1": 150,
      "2": 23,
      "3": 41,
      "4": 164,
      "5": 38,
      "6": 175,
      "7": 92,
      "8": 201,
      "9": 202,
      "10": 43,
      "11": 17
    }
  }
}
```