ChemPal Documentation - v1.6.0
    Preparing search index...

    Interface EpagesSearchProduct

    A product hit from the catalog search (POST /api/v2/search). For chemical products this is a variation master — its own price/stock fields are unreliable (all resolved from the per-variation product pages instead).

    interface EpagesSearchProduct {
        productId: string;
        name: string;
        title?: string;
        sku?: string;
        description?: string;
        slug?: string;
        isVisible?: boolean;
        hasVariations?: boolean;
        isVariationMaster?: boolean;
        image?: { url: string; width?: number; height?: number };
        lowestPrice?: null | EpagesMoney;
        highestPrice?: null | EpagesMoney;
        links: EpagesLink[];
    }
    Index

    Properties

    productId: string

    Product UUID; for a master this doubles as the variation-master id.

    name: string

    Short product name.

    title?: string

    Full product title (name + shop suffix).

    sku?: string

    Product number / SKU.

    description?: string

    HTML description containing the <ul><li> spec list (CAS, formula, molar mass, …).

    slug?: string

    URL slug.

    isVisible?: boolean

    Whether the product is publicly visible; hidden products are filtered out.

    hasVariations?: boolean

    Whether the product has purchasable variations to enumerate.

    isVariationMaster?: boolean

    Whether this product is a variation master.

    image?: { url: string; width?: number; height?: number }

    Proxied catalog thumbnail (not used for the final images).

    lowestPrice?: null | EpagesMoney

    Lowest variation price, when reported.

    highestPrice?: null | EpagesMoney

    Highest variation price, when reported.

    links: EpagesLink[]

    Related-resource links (self, variations, …).