Get eligible delivery windows for order
Find delivery windows available for a specific order based on the order's store location and requirements. Requires either order_id or external_order_id. Optionally filter by time range and requested capacity.
Query parameters
The order for which to return eligible delivery windows.
The order for which to return eligible delivery windows.
The external order id for which to return eligible delivery windows.
The external order id for which to return eligible delivery windows.
The range start for delivery windows.
The range start for delivery windows.
The range end for delivery windows.
The range end for delivery windows.
Optionally specify the requested capacity for the delivery windows.
Optionally specify the requested capacity for the delivery windows.
Response
OK
Example response
{
"eligibleDeliveryWindows": [
{
"name": "S21",
"ineligibleReason": "Ineligible due to order tags",
"storeLocationId": "stl_1234567890",
"storeLocationExternalId": "1001",
"zoneId": "zone_1234567890",
"zoneExternalId": "1001",
"cutoffTime": "2024-10-04T00:00:00.000000",
"cutoffTimeLocal": "2024-10-04T00:00:00.000000",
"startTime": "2024-10-06T00:00:00.000000",
"startTimeLocal": "2024-10-06T00:00:00.000000",
"endTime": "2024-10-07T00:00:00.000000",
"endTimeLocal": "2024-10-07T00:00:00.000000",
"remainingCapacity": 10,
"maximumCapacity": 10,
"minimumOrderValueCents": 1000,
"timezoneId": "America/New_York",
"priceCents": 1000,
"score": 1,
"windowMetadata": {
"key": "value"
}
}
],
"ineligibleDeliveryWindows": [
{
"name": "S21",
"ineligibleReason": "Ineligible due to order tags",
"storeLocationId": "stl_1234567890",
"storeLocationExternalId": "1001",
"zoneId": "zone_1234567890",
"zoneExternalId": "1001",
"cutoffTime": "2024-10-04T00:00:00.000000",
"cutoffTimeLocal": "2024-10-04T00:00:00.000000",
"startTime": "2024-10-06T00:00:00.000000",
"startTimeLocal": "2024-10-06T00:00:00.000000",
"endTime": "2024-10-07T00:00:00.000000",
"endTimeLocal": "2024-10-07T00:00:00.000000",
"remainingCapacity": 10,
"maximumCapacity": 10,
"minimumOrderValueCents": 1000,
"timezoneId": "America/New_York",
"priceCents": 1000,
"score": 1,
"windowMetadata": {
"key": "value"
}
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.