Developers

Search the docs

Search guides and headings.

List the delivery dates of a zone

GET/meals/v1/vendor/{vendor_id}/zone/{zone_id}/delivery-date/query/documents
Scope: catalog:read

Returns valid_delivery_dates: the dates a delivery zone can deliver on between two dates, oldest first. Each date is the instant of midnight at the start of the delivery day in the timezone of the vendor (vendor_timezone on the vendor, an IANA name such as America/Toronto), written in UTC: for a vendor in Eastern time, the delivery day 2026-11-24 is listed as 2026-11-24T05:00:00Z. The date part of each value is the delivery day, and that day, as YYYY-MM-DD, is what the date route and order_delivery_date take. A date is listed only when the zone delivers on that weekday, ordering for it is still open (its order cutoff has not passed), a menu is in production for it, and it is not a blackout date. Dates that can no longer be ordered are never listed, so a from in the past lists nothing before today, and a from in the future still lists every date from that day on that can be ordered. The two dates can be at most 60 days apart, and to at most 60 days from now. Answers 400 when from is after to, the range is longer than 60 days, or to is more than 60 days from now. Answers 404 when the vendor or the zone cannot be seen, which includes a vendor that is not live.

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

  • zone_idstringrequired

    The ID of the delivery zone.

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

Query parameters

  • fromstring (date)required

    The first date to look at, as YYYY-MM-DD.

  • tostring (date)required

    The last date to look at, as YYYY-MM-DD. At most 60 days after from and at most 60 days from now.

Response 200

  • valid_delivery_datesarray of string (date-time)

    The dates the zone can deliver on, oldest first. Each is the instant of midnight at the start of the delivery day in the timezone of the vendor (vendor_timezone on the vendor), written in UTC; for a vendor in Eastern time, the day 2026-11-24 is 2026-11-24T05:00:00Z. The date part of a value is the delivery day, which the date route and order_delivery_date take as YYYY-MM-DD.

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
400bad_requestThe from time must not be after the to time.
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_errorquery.from: Field required
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