Cart Delivery Group
Groups cart line items that share the same delivery destination. Each group provides the available choices for that address, along with the customer's selected option.
Access through the Cart object's field. Items are 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.
- Anchor to firstfirst•Int
Returns up to the first
nelements from the list.- Anchor to afterafter•String
Returns the elements that come after the specified cursor.
- Anchor to lastlast•Int
Returns up to the last
nelements from the list.- Anchor to beforebefore•String
Returns the elements that come before the specified cursor.
- 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.
- Anchor to deliveryOptionsdelivery•[Cart
Options Delivery Option!]! non-null The delivery options available for the delivery group.
- Anchor to groupTypegroup•Cart
Type Delivery Group Type! non-null The type of merchandise in the delivery group.
- •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.