{
  "openapi": "3.1.0",
  "info": {
    "title": "Uber Eats API",
    "version": "1.0",
    "description": "Uber Eats store menus, grocery aisles and products, and menu item options\n\nCalled through the ApiClay gateway with an ApiClay token or API key (https://apiclay.com/dashboard/keys). Pricing, trial, fees and full parameter notes: https://apiclay.com/api/ubereatsapi/llms.txt",
    "x-apiclay-vendor": "ubereatsapi",
    "x-apiclay-pricing": "0.0012 credits/request, 1 trial requests"
  },
  "externalDocs": {
    "description": "Full documentation for AI agents (Markdown)",
    "url": "https://apiclay.com/api/ubereatsapi/llms.txt"
  },
  "servers": [
    {
      "url": "https://api.apiclay.com/v1/api/ubereatsapi"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    },
    {
      "tokenHeader": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "ApiClay API key (apiclay_…) or session token"
      },
      "tokenHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "token",
        "description": "ApiClay API key (apiclay_…) or session token"
      }
    }
  },
  "paths": {
    "/menus": {
      "get": {
        "operationId": "get_menus",
        "summary": "Menus (store menu, restaurant or grocery)",
        "responses": {
          "200": {
            "description": "The upstream response (JSON unless the route or `X-ApiClay-Html` chooses another output)"
          },
          "default": {
            "description": "Gateway error, JSON: SOURCE_UNAVAILABLE = upstream or datasource failed, unknown path, or malformed request; POLICY_LIMIT_EXCEEDED = rate limit, daily cap, or the vendor's request policy was hit; SERVER_BUSY = gateway at capacity; retry with backoff; INSUFFICIENT_BALANCE = no credits left once trial and plan requests are used up; AUTH_FAILED = missing or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "x-uber-device-location-latitude",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-uber-target-location-latitude",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-uber-target-location-longitude",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-uber-device-location-longitude",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "diningMode",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "store_uuid",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/categories": {
      "post": {
        "operationId": "post_categories",
        "summary": "Categories (grocery aisle subcategories)",
        "responses": {
          "200": {
            "description": "The upstream response (JSON unless the route or `X-ApiClay-Html` chooses another output)"
          },
          "default": {
            "description": "Gateway error, JSON: SOURCE_UNAVAILABLE = upstream or datasource failed, unknown path, or malformed request; POLICY_LIMIT_EXCEEDED = rate limit, daily cap, or the vendor's request policy was hit; SERVER_BUSY = gateway at capacity; retry with backoff; INSUFFICIENT_BALANCE = no credits left once trial and plan requests are used up; AUTH_FAILED = missing or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              },
              "example": {
                "storeFilters": {
                  "storeUuid": "3f6d47fc-b7f7-49ed-b04a-68c61dfa0571",
                  "sectionUuids": [
                    "<section uuid from /menus>"
                  ],
                  "subsectionUuids": null,
                  "shouldReturnSegmentedControlData": true
                }
              }
            }
          }
        }
      }
    },
    "/products": {
      "post": {
        "operationId": "post_products",
        "summary": "Products (grocery products of a category)",
        "responses": {
          "200": {
            "description": "The upstream response (JSON unless the route or `X-ApiClay-Html` chooses another output)"
          },
          "default": {
            "description": "Gateway error, JSON: SOURCE_UNAVAILABLE = upstream or datasource failed, unknown path, or malformed request; POLICY_LIMIT_EXCEEDED = rate limit, daily cap, or the vendor's request policy was hit; SERVER_BUSY = gateway at capacity; retry with backoff; INSUFFICIENT_BALANCE = no credits left once trial and plan requests are used up; AUTH_FAILED = missing or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              },
              "example": {
                "storeFilters": {
                  "storeUuid": "3f6d47fc-b7f7-49ed-b04a-68c61dfa0571",
                  "sectionUuids": [
                    "<section uuid from /menus>"
                  ],
                  "subsectionUuids": [
                    "<subsection uuid from /categories>"
                  ],
                  "shouldReturnSegmentedControlData": true
                },
                "pagingInfo": {
                  "enabled": false,
                  "offset": null
                }
              }
            }
          }
        }
      }
    },
    "/customizations": {
      "post": {
        "operationId": "post_customizations",
        "summary": "Customizations (options of a menu item)",
        "responses": {
          "200": {
            "description": "The upstream response (JSON unless the route or `X-ApiClay-Html` chooses another output)"
          },
          "default": {
            "description": "Gateway error, JSON: SOURCE_UNAVAILABLE = upstream or datasource failed, unknown path, or malformed request; POLICY_LIMIT_EXCEEDED = rate limit, daily cap, or the vendor's request policy was hit; SERVER_BUSY = gateway at capacity; retry with backoff; INSUFFICIENT_BALANCE = no credits left once trial and plan requests are used up; AUTH_FAILED = missing or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "storeUuid": {
                    "type": "string"
                  },
                  "sectionUuid": {
                    "type": "string"
                  },
                  "subsectionUuid": {
                    "type": "string"
                  },
                  "menuItemUuid": {
                    "type": "string"
                  }
                },
                "required": [
                  "storeUuid",
                  "sectionUuid",
                  "menuItemUuid"
                ]
              },
              "example": {
                "storeUuid": "<storeUuid>",
                "sectionUuid": "<sectionUuid>",
                "subsectionUuid": "<subsectionUuid>",
                "menuItemUuid": "<menuItemUuid>"
              }
            }
          }
        }
      }
    }
  }
}
