Product object for Insider SDK events

interface InsiderProduct {
    productID: string;
    name: string;
    taxonomy: string[];
    imageURL: string;
    price: number;
    currency: string;
    color?: string;
    size?: string;
    salePrice?: number;
    shippingCost?: number;
    quantity?: number;
    inStock?: boolean;
}

Properties

productID: string

Unique product identifier

name: string

Product name

taxonomy: string[]

Product categories

imageURL: string

Product image URL

price: number

Product price

currency: string

Currency code - (USD,BRL,...)

color?: string

Product color

size?: string

Product size

salePrice?: number

Sale price

shippingCost?: number

Shipping cost

quantity?: number

Product quantity

inStock?: boolean

Whether product is in stock