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 MANAGE_ORDERSpermission.
orderUpdateShipping(
order: ID!
input: OrderUpdateShippingInput!
): OrderUpdateShipping

Arguments

orderUpdateShipping.order ● ID! non-null scalar

ID of the order to update a shipping method.

orderUpdateShipping.input ● OrderUpdateShippingInput! non-null input

Fields required to change shipping method of the order.

Type

OrderUpdateShipping object

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 MANAGE_ORDERSpermission.

Was this page helpful?