Skip to main content

ProductBulkDeletePreview

What a bulk delete would affect, for the confirmation dialog. It writes nothing.

type ProductBulkDeletePreview {
buyingListLines: Int!
cartLines: Int!
defaultVariantCount: Int!
lastVariantViolations: [ProductBulkDeleteLastVariantViolation!]!
missing: Int!
openOrderLines: Int!
openQuoteLines: Int!
productCount: Int!
variantCount: Int!
}

Fields​

ProductBulkDeletePreview.buyingListLines ● Int! non-null scalar​

How many buyer buying list lines would be removed.

ProductBulkDeletePreview.cartLines ● Int! non-null scalar​

How many buyer cart lines would be removed.

ProductBulkDeletePreview.defaultVariantCount ● Int! non-null scalar​

In variant mode, how many selected variants are their product's default.

ProductBulkDeletePreview.lastVariantViolations ● [ProductBulkDeleteLastVariantViolation!]! non-null object​

Products whose every live variant is selected. Those are skipped.

ProductBulkDeletePreview.missing ● Int! non-null scalar​

How many requested IDs were not found, from another organization or already deleted.

ProductBulkDeletePreview.openOrderLines ● Int! non-null scalar​

How many lines on open sales orders refer to what would be deleted.

ProductBulkDeletePreview.openQuoteLines ● Int! non-null scalar​

How many lines on open quotes refer to what would be deleted.

ProductBulkDeletePreview.productCount ● Int! non-null scalar​

How many products were found in the organization.

ProductBulkDeletePreview.variantCount ● Int! non-null scalar​

How many live variants would be soft-deleted.

Returned By​

productBulkDeletePreview query ● productVariantBulkDeletePreview query