Skip to main content
Version: 3.x

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 one of the following permissions: MANAGE_ORDERS.

orderUpdateShipping(
order: ID!
input: OrderUpdateShippingInput!
): OrderUpdateShipping

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 one of the following permissions: MANAGE_ORDERS.