Add existing items to a draft menu
Adds up to 50 existing restaurant menu items to one inactive menu. Expected counts prevent applying the request to a menu that changed after review.
/v1/restaurants/{restaurantId}/menus/{menuPublicId}/itemsAdds up to 50 existing restaurant menu items to one inactive menu. Expected counts prevent applying the request to a menu that changed after review. Organization-boundary tokens also require fiest.organization.read.
Quick request
curl -X POST "https://example.com/v1/restaurants/11111111-1111-4111-8111-111111111111/menus/43f64da8-4ec2-4900-b137-1c0927c975d2/items" \ -H "Authorization: Bearer $FIEST_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "menuItemPublicIds": [ "67fb6fb2-0f46-455b-934e-25707b77be08", "77777777-7777-4777-8777-777777777777" ], "expectedCategoryCount": 2, "expectedItemCount": 8, "idempotencyKey": "bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb", "confirmed": true }'{ "data": { "actionId": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa", "restaurantId": "11111111-1111-4111-8111-111111111111", "menu": { "menuPublicId": "43f64da8-4ec2-4900-b137-1c0927c975d2", "name": "Lunch menu", "activeForPos": false, "onlineOrdering": false, "categoryCount": 2, "itemCount": 10 }, "addedMenuItemPublicIds": [ "67fb6fb2-0f46-455b-934e-25707b77be08", "77777777-7777-4777-8777-777777777777" ], "replayed": false }}Authorization
fiestOAuth fiest.restaurant.read, fiest.menu.read, fiest.menu.structure.writeOAuth 2.1 authorization code with PKCE. Partner clients and redirect URIs must be approved by Fiest before use.
In: header
Scope: fiest.restaurant.read, fiest.menu.read, fiest.menu.structure.write
Path Parameters
A restaurant identifier returned by the authorized restaurant list.
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json