List vendors
/meals/v1/vendor/query/documentscatalog:readReturns a page of the vendors you can order from. Vendors that are not live yet or that were retired are never listed. The list leaves out the long description, the timezone, the address and the support contact of each vendor; read one vendor to get them.
Needs the catalog:read scope.
Query parameters
namestringKeep only vendors whose name contains this text. Not case sensitive.
Pattern ^[^${}]{1,150}$
pageintegerThe page number, from 1.
Minimum 1 · Default 1
sizeintegerThe page size, at most 50.
Minimum 1 · Maximum 50 · Default 10
Response 200
dataarray of VendorrequiredThe vendors of the page.
Show child attributesHide child attributes
created_atstring (date-time)nullableWhen the vendor was created.
updated_atstring (date-time)nullableWhen the vendor was last updated.
vendor_addressVendorAddressnullableThe address of the vendor. Only when you read one vendor.
Show child attributesHide child attributes
citystringrequiredThe city.
countrystringrequiredThe two-letter country code.
line1stringrequiredThe first line of the address.
line2stringnullableThe second line of the address, if there is one.
postal_codestringrequiredThe postal code.
statestringrequiredThe two-letter province code.
vendor_customer_support_emailstringnullableThe email address of the support of the vendor. Only when you read one vendor.
vendor_customer_support_phonestringnullableThe phone number of the support of the vendor. Only when you read one vendor.
vendor_faq_urlstringnullableThe URL of the frequently asked questions of the vendor.
vendor_idstringrequiredThe ID of the vendor.
vendor_imagesarray of stringThe URLs of the images of the vendor.
vendor_logo_imagestringnullableThe URL of the logo of the vendor.
vendor_long_descriptionstringnullableA long description of the vendor. Only when you read one vendor.
vendor_maximum_order_itemsintegernullableThe most items the vendor takes in one order.
vendor_maximum_order_valueintegernullableThe largest order value the vendor takes, in cents. A vendor has no currency of its own: it is the
zone_currencyof the delivery zone you order in.vendor_minimum_order_itemsintegernullableThe fewest items the vendor takes in one order.
vendor_minimum_order_valueintegernullableThe smallest order value the vendor takes, in cents. A vendor has no currency of its own: it is the
zone_currencyof the delivery zone you order in.vendor_namestringrequiredThe name of the vendor.
vendor_short_descriptionstringnullableA short description of the vendor.
vendor_social_media_facebookstringnullableThe URL of the Facebook page of the vendor.
vendor_social_media_instagramstringnullableThe URL of the Instagram page of the vendor.
vendor_social_media_linkedinstringnullableThe URL of the LinkedIn page of the vendor.
vendor_social_media_twitterstringnullableThe URL of the Twitter page of the vendor.
vendor_timezonestringnullableThe IANA timezone of the vendor, for example
America/Toronto. The delivery days of its zones start at midnight in this timezone. Only when you read one vendor.vendor_website_urlstringnullableThe URL of the website of the vendor.
has_nextbooleanrequiredWhether the data has a next page or not
has_previousbooleanrequiredWhether the data has a previous page or not
pageintegerrequiredThe page number of the data
sizeintegerrequiredThe size of the data
totalintegerrequiredThe total number of data
total_pagesintegerrequiredThe total number of pages
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. |
422 | validation_error | query.size: Input should be less than or equal to 50 |
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. |