List the products of a vendor
/meals/v1/vendor/{vendor_id}/product/query/documentscatalog:readReturns a page of the products of one vendor that you can order. Products that are not live yet or that were retired are never listed. The list leaves out the description and the features of each product, and its creation and update times; read one product to get them.
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}$
Query parameters
namestringKeep only products whose name contains this text. Not case sensitive.
Pattern ^[^${}]{1,250}$
typeenumKeep only products of this type:
Meal,BulkorMisc.MealBulkMisc
collectionenumKeep only products of this collection, for example
BreakfastorSnack.BreakfastLunchDinnerDrinkSnackSupplementSauce
tagstringKeep only products with this tag, given as the tag ID.
Pattern ^[^${}]{1,100}$
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 ProductrequiredThe products of the page.
Show child attributesHide child attributes
created_atstring (date-time)nullableWhen the product was created. Only when you read one product.
product_barcodeProductBarcodenullableThe barcode of the product.
Show child attributesHide child attributes
barcode__EAN13stringrequiredThe barcode of the product, as an EAN-13.
is_barcode_auto_generatedbooleanrequiredWhether the barcode was generated for the vendor rather than entered by them.
is_barcode_gs1booleanrequiredWhether the barcode follows the GS1 standard.
product_client_side_instruction_urlstringnullableThe URL of the instructions for the product, for example how to heat it.
product_containsstringnullableThe allergen statement of the product.
product_descriptionstringnullableA description of the product. Only when you read one product.
product_featuresarray of stringThe selling points of the product. Only when you read one product.
product_idstringrequiredThe ID of the product.
product_imagesarray of stringThe URLs of the product images.
product_label_typeenumnullableThe nutrition label standard of the product:
Canada Food Label StandardorUS Food Label Standard.Canada Food Label StandardUS Food Label Standard
product_logo_imagestringnullableThe URL of a small product image.
product_meal_collectionsarray of enumThe collections the product belongs to, for example
BreakfastorSnack.product_namestringrequiredThe name of the product.
product_nutritionProductNutritionnullableThe nutrition of the product,
nullwhen the vendor has none.Show child attributesHide child attributes
label_ingredient_listingstringnullableThe ingredients, as printed on the label.
nullwhen the vendor has not entered them.nutritionProductNutritionFactsnullableThe nutrition facts.
nullwhen the vendor has not entered them.per_serving_sizeProductQuantityrequiredtotal_servingsintegerrequiredThe number of servings in the product.
total_weightProductQuantitynullableThe weight of the whole product.
nullwhen the vendor has not entered it.
product_priceintegerrequiredThe price of one unit, an integer number of cents. A product has no currency of its own: the currency is the
zone_currencyof the delivery zone you order in.product_skustringrequiredThe stock keeping unit of the product.
product_titlestringnullableThe title of the product, as it appears on receipts.
product_typeenumrequiredThe type of the product:
Meal,BulkorMisc.MealBulkMisc
product_unit_labelstringnullableWhat one unit is called, for example
Box.product_use_byintegernullableThe number of days the product keeps.
tagsarray of stringThe tags of the product, as IDs.
updated_atstring (date-time)nullableWhen the product was last updated. Only when you read one product.
vendorstringrequiredThe ID of the vendor that makes the product.
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. |