Developers

Search the docs

Search guides and headings.

Get a product

GET/meals/v1/vendor/{vendor_id}/product/{product_id}/get/document
Scope: catalog:read

Returns one product of a vendor with its description and features. Answers 404 when the product does not exist, is not live yet, was retired, or is not something you can order as it is.

Needs the catalog:read scope.

Path parameters

  • vendor_idstringrequired

    The ID of the vendor.

    Min length 1 · Max length 200 · Pattern ^[A-Za-z0-9_-][A-Za-z0-9._-]{0,199}$

  • product_idstringrequired

    The ID of the product.

    Min length 1 · Max length 200 · Pattern ^[A-Za-z0-9_-][A-Za-z0-9._-]{0,199}$

Response 200

  • created_atstring (date-time)nullable

    When the product was created. Only when you read one product.

  • product_barcodeProductBarcodenullable

    The barcode of the product.

    Show child attributesHide child attributes
    • barcode__EAN13stringrequired

      The barcode of the product, as an EAN-13.

    • is_barcode_auto_generatedbooleanrequired

      Whether the barcode was generated for the vendor rather than entered by them.

    • is_barcode_gs1booleanrequired

      Whether the barcode follows the GS1 standard.

  • product_client_side_instruction_urlstringnullable

    The URL of the instructions for the product, for example how to heat it.

  • product_containsstringnullable

    The allergen statement of the product.

  • product_descriptionstringnullable

    A description of the product. Only when you read one product.

  • product_featuresarray of string

    The selling points of the product. Only when you read one product.

  • product_idstringrequired

    The ID of the product.

  • product_imagesarray of string

    The URLs of the product images.

  • product_label_typeenumnullable

    The nutrition label standard of the product: Canada Food Label Standard or US Food Label Standard.

    • Canada Food Label Standard
    • US Food Label Standard
  • product_logo_imagestringnullable

    The URL of a small product image.

  • product_meal_collectionsarray of enum

    The collections the product belongs to, for example Breakfast or Snack.

  • product_namestringrequired

    The name of the product.

  • product_nutritionProductNutritionnullable

    The nutrition of the product, null when the vendor has none.

    Show child attributesHide child attributes
    • label_ingredient_listingstringnullable

      The ingredients, as printed on the label. null when the vendor has not entered them.

    • nutritionProductNutritionFactsnullable

      The nutrition facts. null when the vendor has not entered them.

      Show child attributesHide child attributes
      • carbohydratesProductCarbohydratesrequired
      • cholesterolProductCholesterolrequired
      • fatsProductFatsrequired
      • macrosProductMacrosrequired
      • mineralsProductMineralsrequired
      • other_nutrientsProductOtherNutrientsrequired
      • sodiumProductSodiumrequired
      • vitaminsProductVitaminsrequired
    • per_serving_sizeProductQuantityrequired

      The size of one serving.

      Show child attributesHide child attributes
      • quantitynumberrequired

        The amount.

      • unitstringrequired

        The unit of the amount, for example g.

    • total_servingsintegerrequired

      The number of servings in the product.

    • total_weightProductQuantitynullable

      The weight of the whole product. null when the vendor has not entered it.

      Show child attributesHide child attributes
      • quantitynumberrequired

        The amount.

      • unitstringrequired

        The unit of the amount, for example g.

  • product_priceintegerrequired

    The price of one unit, an integer number of cents. A product has no currency of its own: the currency is the zone_currency of the delivery zone you order in.

  • product_skustringrequired

    The stock keeping unit of the product.

  • product_titlestringnullable

    The title of the product, as it appears on receipts.

  • product_typeenumrequired

    The type of the product: Meal, Bulk or Misc.

    • Meal
    • Bulk
    • Misc
  • product_unit_labelstringnullable

    What one unit is called, for example Box.

  • product_use_byintegernullable

    The number of days the product keeps.

  • tagsarray of string

    The tags of the product, as IDs.

  • updated_atstring (date-time)nullable

    When the product was last updated. Only when you read one product.

  • vendorstringrequired

    The ID of the vendor that makes the product.

Errors

Every error has this shape. Branch on code, not on message. request_id equals the X-Request-Id response header.

jsonError response
{
  "error": {
    "code": "not_found",
    "message": "The object does not exist.",
    "request_id": "req_0123456789abcdef0123456789abcdef"
  }
}
StatusCodeMeaning
401invalid_api_keyThe API key is missing or not valid.
403company_archivedThis company is archived.
403company_not_liveThe company must be live to use prod keys.
403company_suspendedThis company is suspended.
403scope_not_grantedThis API key does not have the catalog:read scope.
404not_foundThe requested resource was not found.
422validation_errorpath.vendor_id: String should match pattern '^[A-Za-z0-9_-][A-Za-z0-9._-]{0,199}$'
429rate_limitedToo many requests. Wait before calling again.
500internal_errorSomething went wrong on our side. Please try again later.
502upstream_errorA Nurish'd service could not complete the request.
503upstream_unavailableA Nurish'd service is unavailable. Please try again later.
504upstream_timeoutA Nurish'd service did not answer in time. Please try again.

All error codes and what to do about them