Skip to main content

DraftOrderBulkDelete

Deletes draft orders.

Requires MANAGE_ORDERSpermission.
type DraftOrderBulkDelete {
count: Int!
orderErrors: [OrderError!]! @deprecated
errors: [OrderError!]!
}

Fields

DraftOrderBulkDelete.count ● Int! non-null scalar miscellaneous

Returns how many objects were affected.

DraftOrderBulkDelete.orderErrors ● [OrderError!]! deprecated non-null object orders

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

DraftOrderBulkDelete.errors ● [OrderError!]! non-null object orders

Returned By

draftOrderBulkDelete mutation