Skip to content
Last updated

Welcome to the Juniper Pack Guide — your go-to resource for understanding how API fields map to the packs your customers receive. This guide will help you visualize how data flows into the final product, ensuring a smooth, consistent, and high-quality experience for every customer.


Pack Overview

Juniper Pack

Here's a breakdown of how each part of the pack is powered by your API data:

  1. Pill Quantity

    • Displays the number of supplements included in the pack.
    • Maps to quantity in the Order schema's lineItems.
  2. Product Name

    • Pulled directly from the product name in the Juniper catalog.
    • Maps to name in the Product schema.
  3. Supplement Dosage

    • Shown only if the supplement contains a single active ingredient.
    • Derived from the SupplementFactsPanel ingredientInformation.
  4. Supplement Description

    • A customizable field that explains the purpose of the supplement or provides dosing instructions (e.g., "Take with food").
    • Maps to packDescription in the Order schema's lineItems.
    • Required for pack items, optional for external items (powders, liquids).
  5. Time of Administration

    • Indicates when the supplement should be taken: Morning, Afternoon, Evening, or Sleep.
    • Maps to the Administration object within the lineItems.
    • Note: The sum of morning + afternoon + evening + sleep must equal the line item quantity.