Shipment Configuration
Get Availability
Retrieves available delivery dates and time slots for scheduled delivery shipments
POST
Get Availability
This endpoint is only available for shipments with
SCHEDULED_DELIVERY fulfillment type. It returns available delivery dates and time slots for scheduling deliveries.Request
The merchant’s domain (e.g. staging.luma.gift)
Device authentication token for session identification
Target shipment identifier
Response
This endpoint only works for shipments that have been configured with
SCHEDULED_DELIVERY fulfillment type. For other fulfillment types, this endpoint is not applicable.The shipment identifier
Current fulfillment configuration (will always be SCHEDULED_DELIVERY)Properties:
id(string): Fulfillment type identifier:SCHEDULED_DELIVERYname(string): Display name for the fulfillment typedescription(string): Detailed description of the fulfillment method
List of available delivery dates with time slotsDate Properties:
date(string): Date in YYYY-MM-DD formatdescription(string): Description of the delivery optiontime_slots(array): Available time slots for this date
slot_id(string): Unique identifier for the time slotstart_time(string): Start time in 24-hour format (HH:MM)end_time(string): End time in 24-hour format (HH:MM)description(string): Human-readable descriptionavailable(boolean): Whether the slot is available for selection
Premium delivery window options (if available)Properties:
window_id(string): Unique window identifiername(string): Window display namedescription(string): Detailed window descriptionprice(object): Additional cost for this windowdate_range(object): Available date rangestart_date(string): First available dateend_date(string): Last available date
Example Request
Example Response
Usage Pattern
This endpoint is specifically designed for scheduled delivery scenarios where customers need to select specific delivery dates and time slots.
Scheduled Delivery Flow
- Ensure shipment has
SCHEDULED_DELIVERYfulfillment type set - Call this endpoint to get available delivery dates and time slots
- Customer selects preferred delivery date and time slot
- Use Set Shipping Method with the selected date and slot
- Complete checkout with scheduled delivery information
Prerequisites
- Shipment must already exist in the cart
- Shipment must have
SCHEDULED_DELIVERYfulfillment type configured - Shipping address must be set on the cart
Error Codes
| Code | Description |
|---|---|
| 400 | Missing authentication header or invalid request body |
| 401 | Invalid JWT token |
| 404 | Shipment not found |
| 422 | Unprocessable data in request |
| 503 | Availability service temporarily unavailable |
Get Availability