Skip to main content

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 miscellaneous

ID of the order to update a shipping method.

orderUpdateShipping.input ● OrderUpdateShippingInput! non-null input orders

Fields required to change shipping method of the order.

Type

OrderUpdateShipping object orders

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.