Skip to main content
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.

•BaseCartLineConnection!
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

Arguments

•String

Returns the elements that come after the specified cursor.

•String

Returns the elements that come before the specified cursor.

•Int

Returns up to the first n elements from the list.

•Int

Returns up to the last n elements from the list.

•Boolean
Default:false

Reverse the order of the underlying list.


•DeliveryMethodType!
non-null

The type of the delivery method: SHIPPING or PICK_UP.

Show enum values
•[CartSelectableDestination!]!
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
•CartDeliveryGroupConnection!
non-null

The delivery groups of the cart lines that use the shipping method. A delivery group belongs to the delivery method that holds all of its cart lines.

Carrier-calculated rates require withCarrierRates: true inside the @defer directive, as for Cart.deliveryGroups.

Show fields

Arguments

•String

Returns the elements that come after the specified cursor.

•String

Returns the elements that come before the specified cursor.

•Int

Returns up to the first n elements from the list.

•Int

Returns up to the last n elements from the list.

•Boolean
Default:false

Reverse the order of the underlying list.

•Boolean
Default:false

Whether to include carrier-calculated delivery rates in the response.

By default, only static shipping rates are returned. This argument requires mandatory usage of the @defer directive.

For more information, refer to fetching carrier-calculated rates for the cart using @defer.


•ID!
non-null

A unique identifier for the delivery method, specific to this cart.


Was this section helpful?


Was this section helpful?