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

    Interface MySimpleStoreProductDetail

    A product as returned by the MySimpleStore detail endpoint (GET /api/v2/products/{slug}). Adds the full variants, assets, and richer description fields not present in the list response.

    interface MySimpleStoreProductDetail {
        id: string;
        slug: string;
        name: string;
        description?: string;
        description_text?: string;
        price?: string;
        currency?: string;
        available?: boolean;
        in_stock?: boolean;
        variants?: MySimpleStoreVariant[];
        assets?: MySimpleStoreAsset[];
    }
    Index

    Properties

    id: string

    Product id (uuid)

    slug: string

    URL slug

    name: string

    Product display name

    description?: string

    HTML description

    description_text?: string

    Plain-text description

    price?: string

    Numeric price as a string (e.g. "60.00")

    currency?: string

    ISO 4217 currency code

    available?: boolean

    Whether the product is available

    in_stock?: boolean

    Whether the product is in stock

    Purchasable variants

    Media assets