Developers

Search the docs

Search guides and headings.

Get a vendor

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

Returns one vendor with its full description, timezone, address and support contact. Answers 404 when the vendor does not exist, is not live yet or was retired.

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}$

Response 200

  • created_atstring (date-time)nullable

    When the vendor was created.

  • updated_atstring (date-time)nullable

    When the vendor was last updated.

  • vendor_addressVendorAddressnullable

    The address of the vendor. Only when you read one vendor.

    Show child attributesHide child attributes
    • citystringrequired

      The city.

    • countrystringrequired

      The two-letter country code.

    • line1stringrequired

      The first line of the address.

    • line2stringnullable

      The second line of the address, if there is one.

    • postal_codestringrequired

      The postal code.

    • statestringrequired

      The two-letter province code.

  • vendor_customer_support_emailstringnullable

    The email address of the support of the vendor. Only when you read one vendor.

  • vendor_customer_support_phonestringnullable

    The phone number of the support of the vendor. Only when you read one vendor.

  • vendor_faq_urlstringnullable

    The URL of the frequently asked questions of the vendor.

  • vendor_idstringrequired

    The ID of the vendor.

  • vendor_imagesarray of string

    The URLs of the images of the vendor.

  • vendor_logo_imagestringnullable

    The URL of the logo of the vendor.

  • vendor_long_descriptionstringnullable

    A long description of the vendor. Only when you read one vendor.

  • vendor_maximum_order_itemsintegernullable

    The most items the vendor takes in one order.

  • vendor_maximum_order_valueintegernullable

    The largest order value the vendor takes, in cents. A vendor has no currency of its own: it is the zone_currency of the delivery zone you order in.

  • vendor_minimum_order_itemsintegernullable

    The fewest items the vendor takes in one order.

  • vendor_minimum_order_valueintegernullable

    The smallest order value the vendor takes, in cents. A vendor has no currency of its own: it is the zone_currency of the delivery zone you order in.

  • vendor_namestringrequired

    The name of the vendor.

  • vendor_short_descriptionstringnullable

    A short description of the vendor.

  • vendor_social_media_facebookstringnullable

    The URL of the Facebook page of the vendor.

  • vendor_social_media_instagramstringnullable

    The URL of the Instagram page of the vendor.

  • vendor_social_media_linkedinstringnullable

    The URL of the LinkedIn page of the vendor.

  • vendor_social_media_twitterstringnullable

    The URL of the Twitter page of the vendor.

  • vendor_timezonestringnullable

    The 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_urlstringnullable

    The URL of the website of the vendor.

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