Przejdź do głównej zawartości

cartSelectShippingMethod

Select a shipping method on the cart. Validates the method against the cart contents and the shipping address (must be eligible for the destination, and a pickup point must be set when the method delivers to a locker / collection point). Updates cost.totalShipping and the grand total.

cartSelectShippingMethod(
input: CartSelectShippingMethodInput!
): CartSelectShippingMethodPayload!

Arguments

cartSelectShippingMethod.input ● CartSelectShippingMethodInput! non-null input

Cart UUID + shipping method UUID to select for the cart

Type

CartSelectShippingMethodPayload object

Result of cartSelectShippingMethod.