Get a menu
/meals/v1/vendor/{vendor_id}/menu/{menu_id}/get/documentcatalog:readReturns one menu of a vendor with the IDs of its products for each meal slot: breakfast, lunch,
dinner, snacks, supplements, drinks and misc. Answers 404 when the menu does not exist, is
still being prepared or was retired.
Needs the catalog:read scope.
Path parameters
vendor_idstringrequiredThe ID of the vendor.
Min length 1 · Max length 200 · Pattern ^[A-Za-z0-9_-][A-Za-z0-9._-]{0,199}$
menu_idstringrequiredThe ID of the menu.
Min length 1 · Max length 200 · Pattern ^[A-Za-z0-9_-][A-Za-z0-9._-]{0,199}$
Response 200
breakfast_itemsarray of stringThe IDs of the products of the breakfast slot.
created_atstring (date-time)nullableWhen the menu was created.
dinner_itemsarray of stringThe IDs of the products of the dinner slot.
drinks_itemsarray of stringThe IDs of the products of the drinks slot.
lunch_itemsarray of stringThe IDs of the products of the lunch slot.
menu_descriptionstringnullableA description of the menu. Only when you read one menu.
menu_idstringrequiredThe ID of the menu.
menu_namestringrequiredThe name of the menu.
menu_production_end_datestring (date-time)requiredWhen production of the menu ends.
menu_production_start_datestring (date-time)requiredWhen production of the menu starts.
menu_statusenumrequiredWhere the menu is in its production window:
in_production,upcoming,expiredornot_in_production.in_productionupcomingexpirednot_in_production
misc_itemsarray of stringThe IDs of the products of the misc slot.
snacks_itemsarray of stringThe IDs of the products of the snacks slot.
supplements_itemsarray of stringThe IDs of the products of the supplements slot.
updated_atstring (date-time)nullableWhen the menu was last updated.
vendorstringrequiredThe ID of the vendor.
Errors
Every error has this shape. Branch on code, not on message. request_id equals the X-Request-Id response header.
{
"error": {
"code": "not_found",
"message": "The object does not exist.",
"request_id": "req_0123456789abcdef0123456789abcdef"
}
}| Status | Code | Meaning |
|---|---|---|
401 | invalid_api_key | The API key is missing or not valid. |
403 | company_archived | This company is archived. |
403 | company_not_live | The company must be live to use prod keys. |
403 | company_suspended | This company is suspended. |
403 | scope_not_granted | This API key does not have the catalog:read scope. |
404 | not_found | The requested resource was not found. |
422 | validation_error | path.vendor_id: String should match pattern '^[A-Za-z0-9_-][A-Za-z0-9._-]{0,199}$' |
429 | rate_limited | Too many requests. Wait before calling again. |
500 | internal_error | Something went wrong on our side. Please try again later. |
502 | upstream_error | A Nurish'd service could not complete the request. |
503 | upstream_unavailable | A Nurish'd service is unavailable. Please try again later. |
504 | upstream_timeout | A Nurish'd service did not answer in time. Please try again. |