This type represents an attribute whose value is either "true" or "false".

interface BooleanAttribute {
    name?: string;
    type: "boolean";
    value: boolean;
}

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: "boolean"
value: boolean