Skip to main content

ProductBulkOperation

A bulk product delete and how far it has got.

type ProductBulkOperation {
createdAt: DateTime!
error: String
failed: Int!
failures: [ProductBulkDeleteFailure!]!
finishedAt: DateTime
id: ID!
processed: Int!
startedAt: DateTime
status: ProductBulkOperationStatus!
succeeded: Int!
total: Int!
type: ProductBulkOperationType!
}

Fields​

ProductBulkOperation.createdAt ● DateTime! non-null scalar​

When the record was created.

ProductBulkOperation.error ● String scalar​

An error that stopped the whole operation.

ProductBulkOperation.failed ● Int! non-null scalar​

How many failed.

ProductBulkOperation.failures ● [ProductBulkDeleteFailure!]! non-null object​

The items that failed, and why.

ProductBulkOperation.finishedAt ● DateTime scalar​

When it finished.

ProductBulkOperation.id ● ID! non-null scalar​

The unique ID of this record.

ProductBulkOperation.processed ● Int! non-null scalar​

How many it has handled.

ProductBulkOperation.startedAt ● DateTime scalar​

When it started.

ProductBulkOperation.status ● ProductBulkOperationStatus! non-null enum​

Where the operation stands.

ProductBulkOperation.succeeded ● Int! non-null scalar​

How many it deleted.

ProductBulkOperation.total ● Int! non-null scalar​

How many items it covers.

ProductBulkOperation.type ● ProductBulkOperationType! non-null enum​

What the operation does.

Returned By​

bulkDeleteProducts mutation ● bulkDeleteProductVariants mutation ● productBulkOperation query