ChemPare Documentation - v0.0.0
    Preparing search index...

    Interface ItemListing

    Represents a product item in Shopify. 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: ShopifyProductVariant[];
        shopify_images: string[];
        shopify_images_alt?: string[];
        tags: string;
    }
    Index

    Properties

    product_id: string

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

    original_product_id: string

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

    title: string

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

    description: string

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

    link: string

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

    price: string

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

    list_price: string

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

    quantity: string

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

    product_code: string

    Product code or SKU. Merchant-defined unique identifier.

    image_link: string

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

    vendor: string

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

    discount: string

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

    add_to_cart_id: string

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

    total_reviews: string

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

    reviews_average_score: string

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

    shopify_variants: ShopifyProductVariant[]

    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.