Skip to main content

orderUpdateShipping Mutation

Updates a shipping method of the order. Requires shipping method ID to update, when null is passed then currently assigned shipping method is removed.

Requires the MANAGE_ORDERSpermission.
orderUpdateShipping(
order: ID!
input: OrderUpdateShippingInput!
): OrderUpdateShipping
Details
type OrderUpdateShipping {
order: Order
orderErrors: [OrderError!]! @deprecated
errors: [OrderError!]!
}

Arguments​

order ● ID!​

ID of the order to update a shipping method.

input ● OrderUpdateShippingInput!​

Fields required to change shipping method of the order.

Type​

OrderUpdateShipping​

Updates a shipping method of the order. Requires shipping method ID to update, when null is passed then currently assigned shipping method is removed.

Requires the MANAGE_ORDERSpermission.