Represents a document in the search response.

interface SearchResponseDoc {
    brand: string;
    description: string;
    pid: string;
    price: number;
    price_range: number[];
    promotions?: string[];
    sale_price: number;
    sale_price_range: number[];
    score?: number;
    thumb_image: string;
    title: string;
    url: string;
    variants: Variant[];
}

Properties

brand: string
description: string
pid: string
price: number
price_range: number[]
promotions?: string[]
sale_price: number
sale_price_range: number[]
score?: number
thumb_image: string
title: string
url: string
variants: Variant[]