Calculate available delivery propositions
POST/deliveries/propositions
Returns how the given set of products can be delivered to the given address. Call this before placing an order to decide whether you can order with next day delivery or must book a time slot first.
The products are evaluated together, as one order. The response is about the whole basket, not about each product, and contains exactly one of these outcomes:
availableDeliveryPropositions | deferredDeliveryDate | What to do |
|---|---|---|
["nextDay"] | – | Place the order without a timeslot. |
["coolblueTimeSlots"] | – | Book a time slot (POST /deliveries/dates, then GET /deliveries/timeslots/{reference}/{date}) and send it in the timeslot of POST /orders. |
[] | "yyyy-MM-dd" | At least one product is a pre-order or back-order. The latest estimated delivery date of the basket is returned instead of a proposition. |
nextDay and coolblueTimeSlots are never returned together: when next day delivery is possible,
it is the only proposition returned.
A basket that mixes a large product delivered by Coolblue (for example a washing machine) with a
small parcel product (for example a phone charger) is delivered in one visit by Coolblue, so it
returns ["coolblueTimeSlots"] and the time slot you book covers every product in the order.
Bundles (composed products) are evaluated by their individual sub-products.
Request
Responses
- 200
- 400
- default
Successful operation
The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.
An error occurred while performing this operation.