Skip to main content

draftOrderDelete Mutation

Deletes a draft order.

Requires MANAGE_ORDERSpermission.
draftOrderDelete(
externalReference: String
id: ID
): DraftOrderDelete

Arguments

draftOrderDelete.externalReference ● String scalar miscellaneous

External ID of a product to delete.

draftOrderDelete.id ● ID scalar miscellaneous

ID of a product to delete.

Type

DraftOrderDelete object orders

Deletes a draft order.

Requires MANAGE_ORDERSpermission.