Skip to main content

ProductDeleteFailureReason

Why a product in a bulk delete request was not deleted

enum ProductDeleteFailureReason {
PRODUCT_NOT_FOUND
PRODUCT_LOOKUP_INVALID
PRODUCT_DELETE_FAILED
}

Values​

ProductDeleteFailureReason.PRODUCT_NOT_FOUND​

No product matched that key for this tenant. Retrying will not change that.

ProductDeleteFailureReason.PRODUCT_LOOKUP_INVALID​

The key could not be used for the requested lookup at all — a non-numeric key for an id lookup, or a sourceId/supplierCode lookup sent without the source/supplier it needs. A repeat of the same request fails the same way; fix the request instead.

ProductDeleteFailureReason.PRODUCT_DELETE_FAILED​

The product was found but the delete itself did not complete. Its transaction was rolled back, so nothing was half-deleted and the id is safe to retry.

Member Of​

ProductDeleteFailure object