interface BaseProduct {
    additionalFields: Record<string, unknown>;
    children: ChildProduct[];
    clickUri: string;
    ec_brand: null | string;
    ec_category: string[];
    ec_color: null | string;
    ec_description: null | string;
    ec_gender: null | string;
    ec_images: string[];
    ec_in_stock: null | boolean;
    ec_item_group_id: null | string;
    ec_listing: null | string;
    ec_name: null | string;
    ec_price: null | number;
    ec_product_id: null | string;
    ec_promo_price: null | number;
    ec_rating: null | number;
    ec_shortdesc: null | string;
    ec_thumbnails: string[];
    excerpt?: null | string;
    excerptsHighlights?: HighlightKeyword[];
    nameHighlights?: HighlightKeyword[];
    permanentid: string;
    totalNumberOfChildren: null | number;
}

Hierarchy (View Summary)

Properties

additionalFields: Record<string, unknown>

The requested additional fields for the product.

children: ChildProduct[]

The child products of the product, fetched through product grouping.

clickUri: string

The URL of the product.

ec_brand: null | string

The brand of the product.

From the ec_brand field.

ec_category: string[]

The category of the product (e.g., "Electronics;Electronics|Televisions;Electronics|Televisions|4K Televisions").

From the ec_category field.

ec_color: null | string

The color of the product.

ec_description: null | string

The description of the product.

From the ec_description field.

ec_gender: null | string

The gender the product is intended for.

ec_images: string[]

The URLs of additional product images.

From the ec_images field.

ec_in_stock: null | boolean

Whether the product is currently in stock.

From the ec_in_stock field.

ec_item_group_id: null | string

The ID used for the purpose of product grouping.

From the ec_item_group_id field.

ec_listing: null | string

The listing that the product belongs to.

ec_name: null | string

The name of the product.

From the ec_name field.

ec_price: null | number

The base price of the product.

From the ec_price field.

ec_product_id: null | string

The product ID.

ec_promo_price: null | number

The promotional price of the product.

From the ec_promo_price field.

ec_rating: null | number

The product rating, from 0 to 10.

From the ec_rating field.

ec_shortdesc: null | string

A short description of the product.

From the ec_shortdesc field.

ec_thumbnails: string[]

The URLs of the product image thumbnails.

From the ec_thumbnails field.

excerpt?: null | string

The contextual excerpt generated for the product.

... This orange sea kayak is perfect for beginner and experienced kayakers ... and want to enjoy the water without having to deal with the hassle of attaching a boat to their kayak.
excerptsHighlights?: HighlightKeyword[]

The length and offset of each word to highlight in the product excerpt string.

nameHighlights?: HighlightKeyword[]

The length and offset of each word to highlight in the product name.

permanentid: string

The SKU of the product.

totalNumberOfChildren: null | number

The total number of child products fetched through product grouping.