Anchor to draftOrderAvailableDeliveryOptionsdraft
draft Order Available Delivery Options
query
Requires access scope.
Returns a list of available delivery options for a draft order.
Anchor to Arguments
Arguments
- Anchor to inputinput•
The fields for the draft order.
- Anchor to localPickupCountlocal•
Pickup Count The number of local pickup options required.
- Anchor to localPickupFromlocal•
Pickup From The offset for the local pickup options.
- Anchor to searchsearch•
The search term for the delivery options.
- Anchor to sessionTokensession•
Token Unique token used to trace execution and help optimize the calculation.
Was this section helpful?
Anchor to Possible returnsPossible returns
- Anchor to DraftOrderAvailableDeliveryOptionsDraft•
Order Available Delivery Options The available delivery options for a draft order.
- available
Local Delivery Rates• [Draftnon-nullOrder Shipping Rate!]! The available local delivery rates for the draft order. Requires a customer with a valid shipping address and at least one line item.
- available
Shipping Rates• [Draftnon-nullOrder Shipping Rate!]! The available shipping rates for the draft order. Requires a customer with a valid shipping address and at least one line item.
- page
Info• Pagenon-nullInfo! Returns information about pagination of local pickup options.
- available
Was this section helpful?
Query Reference
{
draftOrderAvailableDeliveryOptions(input) {
# draftOrderAvailableDeliveryOptions fields
}
}