Delivery Windows & Capacity
Book Delivery Window Slot
Book a delivery window slot for order.
POST
/
v1
/
book_delivery_window_slot
Body
application/json
Expected payload for the book delivery window slot endpoint.
orderId
string
requiredThe order to which the delivery window slot will be committed to.
slotId
string
requiredThe id of the delivery window slot
requestedCapacity
number | null
The requested capacity for the delivery window slot.
Response
200 - application/json
Document object returned by the API.
id
string
requiredThe id of the delivery window slot
deliveryWindowId
string
requiredThe id of the delivery window object
storeLocationId
string
requiredThe id of the store location
startTime
string
requiredThe start time of the delivery window slot
endTime
string
requiredThe end time of the delivery window slot
capacity
number | null
The capacity for the delivery window slot
priceCents
integer | null
The price for the delivery window slot
score
number | null
The score for the delivery window slot
expiresAt
string | null
The time at which the delivery window slot expires