GET
/
v1
/
delivery-window
/
{id}
Get a delivery window
curl --request GET \
  --url https://api.sandbox.usenash.com/v1/delivery-window/{id}
{
  "id": "dw_01234567890123456789",
  "name": "Monday Delivery Window",
  "startTime": "2024-01-01T10:00:00Z",
  "startTimeLocal": "2024-01-01T10:00:00",
  "endTime": "2024-01-01T12:00:00Z",
  "endTimeLocal": "2024-01-01T12:00:00",
  "timezoneId": "America/New_York",
  "cutoffTime": "2024-01-01T10:00:00Z",
  "cutoffTimeLocal": "2024-01-01T10:00:00",
  "rrule": "RRULE:FREQ=WEEKLY;BYDAY=MO",
  "exceptionDates": [
    "2024-01-01",
    "2024-01-02"
  ],
  "allowedTags": [
    "service:rapid",
    "service:express",
    "franchise_location"
  ],
  "leadTimeMinutes": 60,
  "priceCents": 1000,
  "minimumOrderValueCents": 1000,
  "maximumCapacity": 1000,
  "storeLocationId": "stl_01234567890123456789",
  "zoneId": "zone_01234567890123456789",
  "zoneExternalId": "ext_01234567890123456789",
  "windowMetadata": {
    "key": "value"
  },
  "isActive": true,
  "isDeleted": false
}

Path Parameters

id
string
required

The id of the delivery window

Example:

"dlw_abc|10:00|12:00|2025-10-22"

Response

OK

Response for a delivery window.

id
string
required

The ID of the delivery window.

Example:

"dw_01234567890123456789"

name
string
required

The name of the delivery window.

Example:

"Monday Delivery Window"

startTime
string
required

The start time of the delivery window.

Example:

"2024-01-01T10:00:00Z"

startTimeLocal
string
required

The start time of the delivery window in local timezone.

Example:

"2024-01-01T10:00:00"

endTime
string
required

The end time of the delivery window.

Example:

"2024-01-01T12:00:00Z"

endTimeLocal
string
required

The end time of the delivery window in local timezone.

Example:

"2024-01-01T12:00:00"

timezoneId
string
required

The timezone id of the delivery window.

Example:

"America/New_York"

cutoffTime
string
required

The cutoff time of the delivery window.

Example:

"2024-01-01T10:00:00Z"

cutoffTimeLocal
string
required

The cutoff time of the delivery window in local timezone.

Example:

"2024-01-01T10:00:00"

rrule
string
required

The rrule of the delivery window.

Example:

"RRULE:FREQ=WEEKLY;BYDAY=MO"

exceptionDates
string[]
required

The exception dates of the delivery window.

Example:
["2024-01-01", "2024-01-02"]
allowedTags
string[]
required

The allowed tags of the delivery window.

Example:
[
"service:rapid",
"service:express",
"franchise_location"
]
leadTimeMinutes
integer
required

The lead time of the delivery window.

Example:

60

priceCents
integer
required

The price of the delivery window.

Example:

1000

minimumOrderValueCents
integer
required

The minimum order value of the delivery window.

Example:

1000

maximumCapacity
integer
required

The maximum capacity of the delivery window.

Example:

1000

storeLocationId
string
required

The store location id of the delivery window.

Example:

"stl_01234567890123456789"

zoneId
string
required

The zone id of the delivery window.

Example:

"zone_01234567890123456789"

zoneExternalId
string
required

The external zone id of the delivery window.

Example:

"ext_01234567890123456789"

windowMetadata
object
required

The metadata of the delivery window.

Example:
{ "key": "value" }
isActive
boolean
required

Whether the delivery window is active.

Example:

true

isDeleted
boolean
required

Whether the delivery window is deleted.

Example:

false