Skip to main content

orderUpdate

Updates an order.

Requires MANAGE_ORDERSpermission.
orderUpdate(
externalReference: String
id: ID
input: OrderUpdateInput!
): OrderUpdate

Arguments

orderUpdate.externalReference ● String scalar miscellaneous

External ID of an order to update.

Added in Saleor 3.10

orderUpdate.id ● ID scalar miscellaneous

ID of an order to update.

orderUpdate.input ● OrderUpdateInput! non-null input orders

Fields required to update an order.

Type

OrderUpdate object orders

Updates an order.

Requires MANAGE_ORDERSpermission.