Thankly SDK for JavaScript
    Preparing search index...

    Interface CatalogProduct

    A product as held in a partner catalog.

    interface CatalogProduct {
        brand?: string;
        category?: string;
        color?: string;
        currency: string;
        description?: string;
        externalId: string;
        id: string;
        images: { alt?: string; url: string }[];
        imageUrl?: string;
        inStock?: boolean;
        linkUrl?: string;
        material?: string;
        name: string;
        nativeOffer?: NativeOffer | null;
        originalPrice?: number;
        price: number | null;
        sizes: string[];
        stockQuantity?: number;
        thumbnailUrl?: string;
    }
    Index
    brand?: string

    Brand name.

    category?: string

    Category the product sits in.

    color?: string

    Colour, as held in the catalog.

    currency: string

    ISO currency code for the price.

    description?: string

    Detailed description with relevant details and benefits

    externalId: string

    Partner's original SKU/ID

    id: string

    Stable item identifier for client-side matching

    images: { alt?: string; url: string }[]

    Product images, in display order.

    Type Declaration

    • Optionalalt?: string

      Alternative text for the image.

    • url: string

      Image URL.

    imageUrl?: string

    Resolved image URL (added by image resolver)

    inStock?: boolean

    Whether the product is currently purchasable. Absent for editorial items (articles, newsletters, games), where stock has no meaning.

    linkUrl?: string

    Partner URL for the product.

    material?: string

    Primary material.

    name: string

    Product name

    nativeOffer?: NativeOffer | null

    Authoritative regional offer. When present, its terms replace flat prices and links.

    originalPrice?: number

    Price before any discount, when one applies.

    price: number | null

    Current price.

    sizes: string[]

    Sizes this product is available in.

    stockQuantity?: number

    Units currently in stock.

    thumbnailUrl?: string

    Small preview image.