Skip to main content

draftOrderDelete

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.

Added in Saleor 3.10

draftOrderDelete.id ● ID scalar miscellaneous

ID of a product to delete.

Type

DraftOrderDelete object orders

Deletes a draft order.

Requires MANAGE_ORDERSpermission.