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

  • brand: string | null

    Brand name

  • colors: {
        name: string;
        value: string;
    }[]

    Product colors

  • description: string

    Product description

  • id: number

    Product ID

  • image: string

    URL of a sample image for this product

  • is_discontinued: boolean

    Product is discontinued and can no longer be ordered

  • main_category_id: number

    Main category of product

  • model: string | null

    Model name

  • name: string

    Product name

  • placements: DesignPlacement[]

    Product's design placements

  • product_options: CatalogOption[]

    Possible product options

  • sizes: string[]

    Product sizes

  • techniques: Techniques[]

    Product's techniques

  • type: string

    Product type

  • variant_count: number

    Number of available variants for this product