Skip to main content

CatalogBulkDeleteResult

The outcome of a bulk delete of brands or categories: what was deleted and what was refused.

type CatalogBulkDeleteResult {
deleted: Int!
deletedIds: [ID!]!
failures: [CatalogBulkDeleteFailure!]!
requested: Int!
}

Fields​

CatalogBulkDeleteResult.deleted ● Int! non-null scalar​

How many records were deleted.

CatalogBulkDeleteResult.deletedIds ● [ID!]! non-null scalar​

The IDs of the records that were deleted.

CatalogBulkDeleteResult.failures ● [CatalogBulkDeleteFailure!]! non-null object​

The records that were not deleted, each with its reason.

CatalogBulkDeleteResult.requested ● Int! non-null scalar​

How many distinct IDs were asked for (duplicates count once).

Returned By​

bulkDeleteBrands mutation ● bulkDeleteCategories mutation