This type represents an attribute whose value is an enum. The attribute value refers to the key of the enum value.

interface EnumSetAttribute {
    name?: string;
    type: "enum-set";
    value: string[];
}

Properties

Properties

name?: string

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

type: "enum-set"
value: string[]