ChemPal Documentation - v0.0.13-beta.5
    Preparing search index...

    Interface ItemListing

    Represents a product item in Searchanise. Contains all the information needed to display and sell a product.

    const product: ItemListing = {
    product_id: "123456",
    title: "Sodium Chloride",
    description: "High purity NaCl",
    price: "29.99",
    vendor: "ChemSupplier",
    shopify_variants: [{
    sku: "CHEM-NACL-500G",
    price: 29.99,
    quantity_total: "100"
    }]
    };
    interface ItemListing {
        product_id: string;
        original_product_id: string;
        title: string;
        description: string;
        link: string;
        price: string;
        list_price: string;
        quantity: string;
        product_code: string;
        image_link: string;
        vendor: string;
        discount: string;
        add_to_cart_id: string;
        total_reviews: string;
        reviews_average_score: string;
        shopify_variants: SearchaniseProductVariant[];
        shopify_images: string[];
        shopify_images_alt?: string[];
        tags: string;
    }
    Index

    Properties

    product_id: string

    Unique identifier for the product in Searchanise. Used for product operations and URLs.

    "123456789"
    
    original_product_id: string

    Original product identifier from external system. Used for synchronization with other platforms.

    "EXT-123456"
    
    title: string

    Display title of the product. Used in product listings and detail pages.

    "Sodium Chloride, ACS Grade"
    
    description: string

    Detailed description of the product. Used on product detail pages and for SEO.

    "High purity sodium chloride suitable for laboratory use"
    
    link: string

    URL path to the product's detail page. Can be relative to the store's base URL.

    "/products/sodium-chloride-acs"
    
    price: string

    Current selling price of the product. String value that may include currency symbol.

    "29.99"
    
    list_price: string

    Original or MSRP price before any discounts. String value that may include currency symbol.

    "34.99"
    
    quantity: string

    Available quantity of the product. String representation of numeric value.

    "100"
    
    product_code: string

    Product code or SKU. Merchant-defined unique identifier.

    "CHEM-NACL-500G"
    
    image_link: string

    URL to the product's main image. Used in listings and detail pages.

    "/images/products/sodium-chloride.jpg"
    
    vendor: string

    Name of the product vendor or manufacturer. Used for filtering and display.

    "ChemSupplier Inc."
    
    discount: string

    Discount information for the product. String representation of discount details.

    "Save 15%"
    
    add_to_cart_id: string

    ID used for adding the product to cart. Used in cart operations.

    "add-123456789"
    
    total_reviews: string

    Total number of reviews for the product. String representation of numeric value.

    "42"
    
    reviews_average_score: string

    Average review score for the product. String representation of numeric value.

    "4.5"
    
    shopify_variants: SearchaniseProductVariant[]

    Array of product variants. Contains detailed variant information.

    shopify_images: string[]

    Array of product image URLs. Used for product galleries.

    shopify_images_alt?: string[]

    Optional array of alt text for product images. Used for accessibility and SEO.

    tags: string

    Product tags for categorization and filtering. Comma-separated string of tags.

    "chemicals,laboratory,ACS grade"