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

    Interface Sku

    Represents a stock keeping unit with detailed inventory and pricing information. Used for managing product variants and their specific characteristics.

    const sku: Sku = {
    priceInfo: {
    regularPrice: [19.99, 17.99, 15.99]
    },
    variantsMap: {
    volume: 500,
    chemicalGrade: "ACS",
    concentration: "98%"
    },
    skuId: "NaCl-500-ACS",
    seoName: "sodium-chloride-500g-acs",
    inventoryStatus: "IN_STOCK",
    inventoryStatusMsg: "In Stock",
    specifications: {
    shippingInformation: "Hazardous material"
    }
    };
    interface Sku {
        priceInfo: { regularPrice: number[] };
        variantsMap: {
            volume: number;
            chemicalGrade: string;
            concentration: string;
        };
        skuId: string;
        seoName: string;
        inventoryStatus: string;
        inventoryStatusMsg: string;
        specifications: { shippingInformation: string };
    }
    Index

    Properties

    priceInfo: { regularPrice: number[] }

    Pricing information for the SKU

    Type declaration

    • regularPrice: number[]

      Array of regular prices (may include different quantities)

    variantsMap: { volume: number; chemicalGrade: string; concentration: string }

    Mapping of variant-specific characteristics

    Type declaration

    • volume: number

      Volume of the product

    • chemicalGrade: string

      Chemical grade specification

    • concentration: string

      Chemical concentration value

    skuId: string

    Unique identifier for the SKU

    seoName: string

    URL-friendly name for SEO purposes

    inventoryStatus: string

    Current inventory status code

    inventoryStatusMsg: string

    Human-readable inventory status message

    specifications: { shippingInformation: string }

    Additional product specifications

    Type declaration

    • shippingInformation: string

      Special shipping requirements or information