@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Interface OptionItemAttribute

    A localized attribute on an option (a fabric's colour, material, Martindale …).

    interface OptionItemAttribute {
        code: string;
        display?: string | null;
        label?: string | null;
        options?: { code: string; label?: string | null }[];
        type?: string | null;
        value: string | number | boolean | string[] | null;
    }
    Index
    code: string
    display?: string | null

    Ready display string in the market's language.

    label?: string | null
    options?: { code: string; label?: string | null }[]
    type?: string | null
    value: string | number | boolean | string[] | null

    Always an array for select (multi or not), a number for integer/numeric, a string for text.