Product object for Insider SDK events

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

Properties

color?: string

Product color

currency: string

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

imageURL: string

Product image URL

inStock?: boolean

Whether product is in stock

name: string

Product name

price: number

Product price

productID: string

Unique product identifier

quantity?: number

Product quantity

salePrice?: number

Sale price

shippingCost?: number

Shipping cost

size?: string

Product size

taxonomy: string[]

Product categories