{"items":[{"type":"link","fsPath":"index.md","metadata":{"type":"markdown"},"label":"Edit with Redocly Platform","link":"/","routeSlug":"/","relativePathFromDirectory":"index.md"},{"type":"link","label":"Redocly Cafe","link":"/openapi","routeSlug":"/openapi"},{"type":"group","label":"Authorization","link":"/openapi/authorization","routeSlug":"/openapi/authorization","items":[{"label":"Create OAuth2 client","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/authorization/registeroauth2client","routeSlug":"/openapi/authorization/registeroauth2client","metadata":{"seo":{"title":"Create OAuth2 client","description":"Register a new OAuth2 client, implementing the Dynamic Client Registration Protocol (RFC 7591) with the standard snake_case metadata names, so off-the-shelf DCR clients work without modification.Responses use only the standard snake_case names (RFC 7591 Section 3.2.1)."}},"httpPath":"/oauth2/register"},{"label":"Retrieve OAuth2 client","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/authorization/getoauth2client","routeSlug":"/openapi/authorization/getoauth2client","metadata":{"seo":{"title":"Retrieve OAuth2 client","description":"Read the current registration of an OAuth2 client (RFC 7592 Section 2.1).Authenticate with the registration_access_token returned at registration, as a Bearer token in the Authorization header.An invalid or missing token returns 401 without revealing whether the client exists."}},"httpPath":"/oauth2/register/{clientId}"},{"label":"Update OAuth2 client","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/authorization/updateoauth2client","routeSlug":"/openapi/authorization/updateoauth2client","metadata":{"seo":{"title":"Update OAuth2 client","description":"Replace the registration metadata of an OAuth2 client (RFC 7592 Section 2.2).Authenticate with the registration_access_token as a Bearer token."}},"httpPath":"/oauth2/register/{clientId}"},{"label":"Delete OAuth2 client","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/authorization/deleteoauth2client","routeSlug":"/openapi/authorization/deleteoauth2client","metadata":{"seo":{"title":"Delete OAuth2 client","description":"Deprovision an OAuth2 client (RFC 7592 Section 2.3).Authenticate with the registration_access_token as a Bearer token.Deleting a client also invalidates all of its tokens and pending authorization codes."}},"httpPath":"/oauth2/register/{clientId}"},{"label":"Create access token","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/authorization/createaccesstoken","routeSlug":"/openapi/authorization/createaccesstoken","metadata":{"seo":{"title":"Create access token","description":"OAuth2 token endpoint (RFC 6749 Section 3.2).Supports the authorization_code, client_credentials, and refresh_token grant types."}},"httpPath":"/oauth2/token"},{"label":"Revoke token","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/authorization/revoketoken","routeSlug":"/openapi/authorization/revoketoken","metadata":{"seo":{"title":"Revoke token","description":"OAuth2 token revocation endpoint (RFC 7009). Revokes an access or refreshtoken issued to the authenticated client. Access and refresh tokens issuedtogether are revoked together."}},"httpPath":"/oauth2/revoke"},{"label":"Retrieve authorization server metadata","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/authorization/getauthorizationservermetadata","routeSlug":"/openapi/authorization/getauthorizationservermetadata","metadata":{"seo":{"title":"Retrieve authorization server metadata","description":"OAuth2 authorization server metadata (RFC 8414). Lists the authorization, token, registration, and revocation endpoints along with the supported scopes, grant types, client authentication methods, and PKCE code challenge methods. Clients can discover the server's capabilities instead of hard-coding them."}},"httpPath":"/.well-known/oauth-authorization-server"}]},{"type":"group","label":"Products","link":"/openapi/products","routeSlug":"/openapi/products","items":[{"label":"List all menu items","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/products/listmenuitems","routeSlug":"/openapi/products/listmenuitems","metadata":{"seo":{"title":"List all menu items","description":"Retrieve a collection of menu items with optional filtering and pagination."}},"httpPath":"/menu"},{"label":"Create menu item","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/products/createmenuitem","routeSlug":"/openapi/products/createmenuitem","metadata":{"seo":{"title":"Create menu item","description":"Create a new menu item."}},"httpPath":"/menu"},{"label":"Delete a menu item","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/products/deletemenuitem","routeSlug":"/openapi/products/deletemenuitem","metadata":{"seo":{"title":"Delete a menu item","description":"Delete an existing menu item."}},"httpPath":"/menu/{menuItemId}"},{"label":"Retrieve a menu item photo","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/products/getmenuitemphoto","routeSlug":"/openapi/products/getmenuitemphoto","metadata":{"seo":{"title":"Retrieve a menu item photo","description":"Retrieve the product photo image for a specific menu item."}},"httpPath":"/menu-item-images/{menuItemId}"}]},{"type":"group","label":"Orders","link":"/openapi/orders","routeSlug":"/openapi/orders","items":[{"label":"List all orders","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/orders/listorders","routeSlug":"/openapi/orders/listorders","metadata":{"seo":{"title":"List all orders","description":"Retrieve a collection of orders with optional filtering and pagination."}},"httpPath":"/orders"},{"label":"Create order","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/orders/createorder","routeSlug":"/openapi/orders/createorder","metadata":{"seo":{"title":"Create order","description":"Create a new order. Order items cannot be changed - if they need to be updated, cancel the order and place a new one."}},"httpPath":"/orders"},{"label":"Retrieve an order","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/orders/getorderbyid","routeSlug":"/openapi/orders/getorderbyid","metadata":{"seo":{"title":"Retrieve an order","description":"Retrieve a single order by its ID."}},"httpPath":"/orders/{orderId}"},{"label":"Partially update an order","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/orders/updateorder","routeSlug":"/openapi/orders/updateorder","metadata":{"seo":{"title":"Partially update an order","description":"Update an existing order status. Order items cannot be changed - if they need to be updated, cancel the order and place a new one."}},"httpPath":"/orders/{orderId}"},{"label":"Delete an order","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/orders/deleteorder","routeSlug":"/openapi/orders/deleteorder","metadata":{"seo":{"title":"Delete an order","description":"Delete the order. To keep the order history, cancel the order instead of deleting it."}},"httpPath":"/orders/{orderId}"},{"label":"List all order items with menu item details","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/orders/listorderitems","routeSlug":"/openapi/orders/listorderitems","metadata":{"seo":{"title":"List all order items with menu item details","description":"Returns an array of order items for a specific order.Use the filter parameter to filter by order ID."}},"httpPath":"/order-items"},{"type":"separator","label":"Webhooks","variant":"secondary"},{"label":"Order notification webhook","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":true,"type":"link","link":"/openapi/orders/ordernotificationwebhook","routeSlug":"/openapi/orders/ordernotificationwebhook","metadata":{"seo":{"title":"Order notification webhook","description":"Webhook triggered when a new order is placed."}},"httpPath":"order-notification"}]},{"type":"group","label":"Statistics","link":"/openapi/statistics","routeSlug":"/openapi/statistics","items":[{"label":"Get revenue statistics","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/statistics/getrevenue","routeSlug":"/openapi/statistics/getrevenue","metadata":{"seo":{"title":"Get revenue statistics","description":"Retrieve revenue statistics for a configurable date range. Returns revenue, order counts, average order amount, and other useful statistics."}},"httpPath":"/revenue"}]}]}