Served by DeliveryOptionsModule on commercetools and DeliveryOptionsModule on medusa.
Each operation has its own page with its arguments, an example and the engines that serve it. The types link to their fields on the delivery options types page.
Operations
| Operation | Description | Served by |
|---|
cartSetDeliveryPreferenceMutation | Choose whether the cart ships complete or split, and the date the buyer asks to receive it on. | commercetoolsmedusa |
cartSetDeliverySlotMutation | Choose when the cart is delivered. | commercetoolsmedusa |
cartSetPickupPointMutation | Choose where the cart is collected. | commercetoolsmedusa |
Types
Fields on other types
This domain adds these fields to types that another domain defines.
| Field | Type | Description |
|---|
deliveryDates | [DeliveryDate!]! | The dates the cart can be delivered on, each with its time slots, starting
at from (today when absent) and covering the given number of days. Every
date in the range is listed, including those with nothing to offer, so a
date picker can show them disabled with their reason.
Empty while the cart has no shipping address to deliver to.Arguments: from, days |
deliverySlot | DeliverySlot | The delivery slot chosen for the cart. Null until one is chosen. |
pickupPoints | [PickupPoint!]! | Pickup points the cart can be collected from, nearest first, including those
that cannot be chosen. Searched around near, or the shipping address when
near is absent; empty when there is neither. carrierKeys narrows the list
to those carriers.Arguments: near, carrierKeys, limit |
pickupPoint | PickupPoint | The pickup point chosen for the cart. Null until one is chosen. |
deliverySplit | DeliverySplitType! | Whether the cart ships once, when every line is in stock, or ships what is
in stock now and the backordered rest later. COMPLETE until chosen. |
requestedDeliveryDate | Date | The date the buyer asked to receive the delivery on. Null until asked. |
earliestCompleteDeliveryDate | Date | The first date every line is in stock, which is when a complete delivery
can leave at the earliest. Null when nothing is backordered, or when a
backordered line has no expected date; the lines say which. |
| Field | Type | Description |
|---|
deliverySlot | DeliverySlot | The delivery slot chosen in checkout, as it was when the order was placed.
Null when the order is collected from a pickup point or none was chosen. |
pickupPoint | PickupPoint | The pickup point chosen in checkout, as it was when the order was placed.
Null when the order is delivered or none was chosen. |
| Field | Type | Description |
|---|
deliveryPromise | DeliveryPromise | When this variant arrives if it is ordered now, at a country and optional
postal code: the earliest date, the deadline to order for it, the carrier
and the price. The same source as the cart's delivery dates, so the product
page promises what checkout offers. Null when the delivery provider makes
no promises.Arguments: country, postalCode |
| Field | Type | Description |
|---|
carrier | Carrier | Who delivers with this method, for the delivery step to show by name and,
through its key, by logo. Null when the delivery provider does not say. |
deliveryEstimate | DeliveryEstimate | When an order placed now with this method arrives, if every line is in
stock. Null when the delivery provider gives no estimate. A cart with
backordered lines arrives no earlier than its earliestCompleteDeliveryDate. |