Cart Delivery Method
Anchor to FieldsFields
- cartLines (BaseCartLineConnection!)
- deliveryMethodType (DeliveryMethodType!)
- destinations ([CartSelectableDestination!]!)
- groups (CartDeliveryGroupConnection!)
- id (ID!)
- Anchor to cartLinescart•Base
Lines Cart Line Connection! non-null The cart lines that use the delivery method. A local pickup method can have no cart lines and keep its selected location.
Show fields
- Anchor to afterafter•String
Returns the elements that come after the specified cursor.
- Anchor to beforebefore•String
Returns the elements that come before the specified cursor.
- Anchor to firstfirst•Int
Returns up to the first
nelements from the list.- Anchor to lastlast•Int
Returns up to the last
nelements from the list.- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to deliveryMethodTypedelivery•Delivery
Method Type Method Type! non-null The type of the delivery method:
SHIPPINGorPICK_UP.Show enum values
- Anchor to destinationsdestinations•[Cart
Selectable Destination!]! non-null The destinations that the buyer can select for the delivery method. A shipping method has the cart's addresses, and a local pickup method has its pickup locations.
Show union types
- Anchor to groupsgroups•Cart
Delivery Group Connection! non-null The delivery groups of the cart lines that use the delivery method. A delivery group belongs to the delivery method that holds all of its cart lines.
Show fields
- Anchor to afterafter•String
Returns the elements that come after the specified cursor.
- Anchor to beforebefore•String
Returns the elements that come before the specified cursor.
- Anchor to firstfirst•Int
Returns up to the first
nelements from the list.- Anchor to lastlast•Int
Returns up to the last
nelements from the list.- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- •ID!non-null
A unique identifier for the delivery method, specific to this cart.
Anchor to Types implemented inTypes implemented in
- CartPickUpMethod (CartPickUpMethod)
- CartShippingMethod (CartShippingMethod)
- •OBJECT
The local pickup method of a cart. Its destinations are the pickup locations that checkout offered for the method's cart lines, and the selected location is the store where the buyer picks up the lines. A cart that hides the buyer's destination from the API client lists no locations, though the cart keeps its pickup location.
Show fields
- •OBJECT
The shipping method of a cart. Its destinations are the cart's delivery addresses, and the selected address is the one that the shipping method uses.
Show fields