Skip to main content

AttributeDescriptionDeleteFailureReason

Why an attribute description in a bulk delete request was not deleted

enum AttributeDescriptionDeleteFailureReason {
ATTRIBUTE_DESCRIPTION_NOT_FOUND
ATTRIBUTE_DESCRIPTION_IN_USE
ATTRIBUTE_DESCRIPTION_USAGE_CHECK_FAILED
}

Values​

AttributeDescriptionDeleteFailureReason.ATTRIBUTE_DESCRIPTION_NOT_FOUND​

No attribute description with that id exists for this tenant. Retrying will not change that.

AttributeDescriptionDeleteFailureReason.ATTRIBUTE_DESCRIPTION_IN_USE​

An ORDER or ORDER_ITEM description is still referenced by attribute values, carts or tenders. Retrying will not change that — the references have to go first, and there is no override. Only those two classes can be reported this way; every other class is deleted whatever its usage.

AttributeDescriptionDeleteFailureReason.ATTRIBUTE_DESCRIPTION_USAGE_CHECK_FAILED​

Usage of an ORDER or ORDER_ITEM description could not be determined because cart or tender was unreachable, so the delete was refused rather than risking a stranded reference. Nothing was touched and the request is safe to retry. No other class is probed against those services, so none can be reported this way.

Member Of​

AttributeDescriptionDeleteFailure object