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.
type OrderUpdateShipping {
order: Order
orderErrors: [OrderError!]! @deprecated
errors: [OrderError!]!
}

Fields

OrderUpdateShipping.order ● Order object orders

Order with updated shipping method.

OrderUpdateShipping.orderErrors ● [OrderError!]! deprecated non-null object orders

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

OrderUpdateShipping.errors ● [OrderError!]! non-null object orders

Returned By

orderUpdateShipping mutation