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

    Module types/mysimplestore

    Interfaces

    MySimpleStoreImage

    A single product image as returned in a MySimpleStore search-list item's image_list. Only the URL is read while building products.

    MySimpleStorePrice

    The pre-formatted price object attached to each MySimpleStore search-list item. numeric is the machine-readable value; display is the localized string ("$40.00").

    MySimpleStoreOptionValue

    One selected option value on a variant (e.g. the "Size" option set to "1 LITER"). MySimpleStore/Spree exposes these both as options_text and as this structured list.

    MySimpleStoreVariant

    A purchasable variant of a MySimpleStore product, present only on the product-detail response (the search list omits it). Prices arrive as strings; options_text carries the human size label (e.g. "Size: 1 LITER").

    MySimpleStoreAsset

    A media asset on the product-detail response. The resized URLs are used for the product image.

    MySimpleStoreListProduct

    A product as returned in a MySimpleStore search/list response (GET /api/v2/products). Variants are NOT included here — only variant_count — so the size/price breakdown requires the detail fetch.

    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.

    MySimpleStoreSearchResponse

    The envelope returned by the MySimpleStore search/list endpoint.