Skip to main content
Version: Canary 🚧

draftOrderUpdate

Updates a draft order.

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

Arguments

draftOrderUpdate.externalReference ● String scalar

External ID of a draft order to update.

Added in Saleor 3.10

draftOrderUpdate.id ● ID scalar

ID of a draft order to update.

draftOrderUpdate.input ● DraftOrderInput! non-null input

Fields required to update an order.

Type

DraftOrderUpdate object

Updates a draft order.

Requires MANAGE_ORDERSpermission.

Was this page helpful?