Skip to main content

draftOrderUpdate

Updates a draft order.

Requires MANAGE_ORDERSpermission.
draftOrderUpdate(
externalReference: String
id: ID
input: DraftOrderInput!
): DraftOrderUpdate

Arguments

draftOrderUpdate.externalReference ● String scalar miscellaneous

External ID of a draft order to update.

Added in Saleor 3.10

draftOrderUpdate.id ● ID scalar miscellaneous

ID of a draft order to update.

draftOrderUpdate.input ● DraftOrderInput! non-null input orders

Fields required to update an order.

Type

DraftOrderUpdate object orders

Updates a draft order.

Requires MANAGE_ORDERSpermission.