Type Alias Variant

Variant: {
    _links?: {
        self?: HateoasLink_2;
    };
    availability?: AvailabilityStatus[];
    catalog_product_id?: number;
    color?: string | null;
    color_code?: string | null;
    color_code2?: string | null;
    id?: number;
    image?: string;
    name?: string;
    size?: string;
}

Type declaration

  • Optional_links?: {
        self?: HateoasLink_2;
    }

    HATEOAS links

  • Optionalavailability?: AvailabilityStatus[]

    Detailed stock status per region Retrieve product stock availability should be used instead.

  • Optionalcatalog_product_id?: number

    ID of the product that this variant belongs to

  • Optionalcolor?: string | null

    Item color

  • Optionalcolor_code?: string | null

    Hexadecimal RGB color code. May not exactly reflect the real-world color

  • Optionalcolor_code2?: string | null

    Secondary hexadecimal RGB color code. May not exactly reflect the real-world color

  • Optionalid?: number

    Variant ID, use this to specify the product when creating orders

  • Optionalimage?: string

    URL of a preview image for this variant

  • Optionalname?: string

    Display name

  • Optionalsize?: string

    Item size