Cart Delivery Group
Groups cart line items that share a delivery method and destination: the items
of a shipping group ship to the same address, and the items of a pickup group
are picked up at the same store. Each group provides the available
choices, along with the customer's selected option.
Access through the
Cart object's
field. Items are also grouped by merchandise type (one-time
purchase vs subscription), allowing different delivery methods for each.
Anchor to FieldsFields
- cartLines (BaseCartLineConnection!)
- deliveryAddress (MailingAddress!)
- deliveryOptions ([CartDeliveryOption!]!)
- groupType (CartDeliveryGroupType!)
- id (ID!)
- selectedDeliveryOption (CartDeliveryOption)
- Anchor to cartLinescart•Base
Lines Cart Line Connection! non-null A list of cart lines for the delivery group.
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 deliveryAddressdelivery•Mailing
Address Address! non-null The destination address for the delivery group. For a pickup group, only
idhas a value. It names the location of the selected store, for example.Show fields
- Anchor to deliveryOptionsdelivery•[Cart
Options Delivery Option!]! non-null The delivery options available for the delivery group.
Show fields
- Anchor to groupTypegroup•Cart
Type Delivery Group Type! non-null The type of merchandise in the delivery group.
Show enum values
- •ID!non-null
The ID for the delivery group.
- Anchor to selectedDeliveryOptionselected•Cart
Delivery Option Delivery Option The selected delivery option for the delivery group.
Show fields