Schema Documentation

updateShippingMethod

Description

The payload for the updateShippingMethod mutation

Response

Returns an UpdateShippingMethodPayload

Arguments
NameDescription
input - UpdateShippingMethodInput! Input for the updateShippingMethod mutation

Example

Query
mutation updateShippingMethod($input: UpdateShippingMethodInput!){
  updateShippingMethod(input: $input){
    cart {
      ...CartFragment
    }clientMutationId
  }
}
Variables
{"input":UpdateShippingMethodInput}
Response
{"data":{"updateShippingMethod":{"cart":Cart,"clientMutationId":"xyz789"}}}