openapi
/- Create menu item
List all menu items
Delete a menu item
Retrieve a menu item photo
Create menu item
Create a new menu item.
Security
OAuth2(Required scopes: menu:write)
Photo of the menu item. Must be a PNG image less than 1MB in size.
- Mock serverhttps://cafe.redocly.com/_mock/openapi/cafe/menu
- Live server.https://api.cafe.redocly.com/menu
- beverage
- dessert
- Create a beverage
- Create a dessert
curl -i -X POST \
https://cafe.redocly.com/_mock/openapi/cafe/menu \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F name=Cappuccino \
-F price=4500 \
-F category=beverage \
-F volume=250 \
-F containsCaffeine=true \
-F 'photoTextDescription=A hot cappuccino in a white ceramic cup.'Menu item created successfully.
Menu item ID. Unique identifier prefixed with prd_.
Example:"prd_01h1s5z6vf2mm1mz3hevnn9va7"
Response
- beverage
- dessert
{ "id": "prd_01khr487f7qm7p44xn427m43vb", "object": "menuItem", "name": "coffee", "price": 4000, "category": "beverage", "createdAt": "2026-02-18T10:20:38.228Z", "updatedAt": "2026-02-18T10:20:38.228Z", "volume": 600, "containsCaffeine": false }