Draft Order Available Delivery Options
Requires access scope.
The available delivery options for a draft order.
Anchor to FieldsFields
- Anchor to availableLocalDeliveryRatesavailable•[Draft
Local Delivery Rates Order Shipping Rate!]! non-null The available local delivery rates for the draft order. Requires a customer with a valid shipping address and at least one line item.
- Anchor to availableLocalPickupOptionsavailable•[Pickup
Local Pickup Options In Store Location!]! non-null The available local pickup options for the draft order. Requires at least one line item.
- Anchor to availableShippingRatesavailable•[Draft
Shipping Rates Order Shipping Rate!]! non-null The available shipping rates for the draft order. Requires a customer with a valid shipping address and at least one line item.
- Anchor to pageInfopage•Page
Info Info! non-null Returns information about pagination of local pickup options.
Anchor to QueriesQueries
- •query
Available delivery options for a
based on the provided input. The query returns shipping rates, local delivery rates, and pickup locations that merchants can choose from when creating draft orders.Accepts draft order details including
objects,for shipping, and discounts to determine which delivery methods are available. Pagination parameters control the number of local pickup options returned.- Anchor to inputinput•Draft
Order Available Delivery Options Input! required The fields for the draft order.
- Anchor to searchsearch•String
The search term for the delivery options.
- Anchor to localPickupFromlocal•Int
Pickup From The offset for the local pickup options.
- Anchor to localPickupCountlocal•Int
Pickup Count The number of local pickup options required.
- Anchor to sessionTokensession•String
Token Unique token used to trace execution and help optimize the calculation.
Arguments