Type Alias Product

Product: {
    brand?: string | null;
    colors?: {
        name?: string;
        value?: string;
    }[];
    description?: string;
    id?: number;
    image?: string;
    is_discontinued?: boolean;
    main_category_id?: number;
    model?: string | null;
    name?: string;
    placements?: DesignPlacement[];
    product_options?: CatalogOption[];
    sizes?: string[];
    techniques?: Techniques[];
    type?: string;
    variant_count?: number;
}

Information about the Product

Type declaration

  • Optionalbrand?: string | null

    Brand name

  • Optionalcolors?: {
        name?: string;
        value?: string;
    }[]

    Product colors

  • Optionaldescription?: string

    Product description

  • Optionalid?: number

    Product ID

  • Optionalimage?: string

    URL of a sample image for this product

  • Optionalis_discontinued?: boolean

    Product is discontinued and can no longer be ordered

  • Optionalmain_category_id?: number

    Main category of product

  • Optionalmodel?: string | null

    Model name

  • Optionalname?: string

    Product name

  • Optionalplacements?: DesignPlacement[]

    Product's design placements

  • Optionalproduct_options?: CatalogOption[]

    Possible product options

  • Optionalsizes?: string[]

    Product sizes

  • Optionaltechniques?: Techniques[]

    Product's techniques

  • Optionaltype?: string

    Product type

  • Optionalvariant_count?: number

    Number of available variants for this product