Skip to main content

draftOrderUpdate Mutation

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.

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.