Skip to main content
Version: 3.x

checkoutShippingMethodUpdate

Updates the shipping method of the checkout.

checkoutShippingMethodUpdate(
checkoutId: ID
id: ID
shippingMethodId: ID!
token: UUID
): CheckoutShippingMethodUpdate

Arguments

checkoutId (ID)

The ID of the checkout.

DEPRECATED: this field will be removed in Saleor 4.0. Use id instead.

id (ID)

The checkout's ID.

Added in Saleor 3.4.

shippingMethodId (ID!)

Shipping method.

token (UUID)

Checkout token.

DEPRECATED: this field will be removed in Saleor 4.0. Use id instead.

Type

CheckoutShippingMethodUpdate

Updates the shipping method of the checkout.