Returned when an enum value cannot be removed from an Attribute as it is being used by a Product.

The error is returned as a failed response to the [Remove EnumValues from AttributeDefinition](ctp:api:type:ProductTypeRemoveEnumValuesAction) update action.
interface EnumValueIsUsedError {
    code: "EnumValueIsUsed";
    message: string;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

Properties

code: "EnumValueIsUsed"
message: string

"$enumKeysTranscript is used by some products and cannot be deleted because the $attributeName attribute is required."

Generated using TypeDoc