ChemPal Documentation - v0.0.13-beta.5
    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)

      [19.99, 17.99, 15.99]
      
    variantsMap: { volume: number; chemicalGrade: string; concentration: string }

    Mapping of variant-specific characteristics

    Type declaration

    • volume: number

      Volume of the product

      500
      
    • chemicalGrade: string

      Chemical grade specification

      "ACS"
      
    • concentration: string

      Chemical concentration value

      "98%"
      
    skuId: string

    Unique identifier for the SKU

    "NaCl-500-ACS"
    
    seoName: string

    URL-friendly name for SEO purposes

    "sodium-chloride-500g-acs"
    
    inventoryStatus: string

    Current inventory status code

    "IN_STOCK"
    
    inventoryStatusMsg: string

    Human-readable inventory status message

    "In Stock"
    
    specifications: { shippingInformation: string }

    Additional product specifications

    Type declaration

    • shippingInformation: string

      Special shipping requirements or information

      "Hazardous material"