---
title: "Get Line Items"
method: GET
path: "/v1/checkout/sessions/{id}/line_items"
tags: ["Checkout Sessions"]
---

# Get Line Items

`GET /v1/checkout/sessions/{id}/line_items`

Returns the line items for the given Checkout Session. Each line item includes its
price, quantity, and computed amounts.

## Path parameters

- `id` string, required

## Response `200`

An envelope wrapping a list of line item objects.

- MultipleLineItemsBodyForLineItem — An envelope wrapping a list of line item objects.
  - `line_items` LineItem[], required — The list of line items.
    - `line_item_id` string, required — Unique identifier for the line item, prefixed with `fli_`.
    - `amount_discount` integer, required — Total discount applied to the line item, in the smallest currency unit (e.g., `500` = $5.00 USD). `0` if no discount applies.
    - `amount_subtotal` integer, required — Subtotal for the line item before tax, shipping, discounts, and fees, in the smallest currency unit (e.g., `2500` = $25.00 USD).
    - `amount_tax` integer, required — Tax applied to the line item, in the smallest currency unit (e.g., `200` = $2.00 USD). `0` if no tax applies.
    - `amount_total` integer, required — Total amount charged for the line item including tax, shipping, and fees and net of discounts, in the smallest currency unit (e.g., `2700` = $27.00 USD).
    - `amount_shipping` integer, required — Shipping charged on the line item, in the smallest currency unit (e.g., `500` = $5.00 USD). `0` if no shipping applies.
    - `amount_fee` integer, required — Total fees charged on the line item, in the smallest currency unit (e.g., `100` = $1.00 USD). `0` if no fees apply. See `fees` for the per-type breakdown.
    - `description` string, required — Description of the line item, typically the product name.
    - `fees` LineItemFee[], required — The fees associated with this line item.
      - `fee_type` 'lmn_consultation' | 'custom', required — The kind of fee applied to a checkout session: a Letter of Medical Necessity consultation fee, or a custom fee you define.
      - `amount` integer, required — The amount of the fee in cents that applies to this item.
    - `price` Price, required — Prices define the unit cost and (optional) billing cycle for both recurring and one-time purchases of products. Prices belong to a given product. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices.
      - `price_id` string, required — The unique identifier for the price.
      - `owner_partner_id` string, nullable — The ID of the account that owns this price. For prices shared across an organization this may be a sibling account; otherwise it is your own account ID.
      - `description` string, nullable — The description of the price.
      - `trial_period_days` integer, nullable — The number of trial period days before the customer is first charged for a recurring price.
      - `unit_amount` integer, required — The amount to charge per unit, in the smallest currency unit (e.g., `2500` = $25.00 USD).
      - `recurring` Recurring — Describes how a recurring price bills over time. Present on prices of type `recurring`; `null` for one-time prices.
        - `interval` 'day' | 'week' | 'month' | 'year', required — The frequency at which a recurring price bills.
        - `interval_count` integer, nullable — The number of intervals
        - `trial_period_days` integer, nullable — The number of trial period days before the customer is charged for the first time. Whole days only. For a precise trial-end timestamp (e.g. non-integer days), use `subscription_data.trial_end` on the Create Checkout Session request instead.
      - `active` boolean, required — Whether the price is currently active.
      - `product` union, required — An expandable field — either a string ID or an expanded Product object.
        - string
        - Product — A Product defines what you sell. Flex determines its HSA/FSA eligibility from the name, description, and identifiers you provide.
          - `product_id` string, required — The unique identifier for the product.
          - `owner_partner_id` string, nullable — The ID of the account that owns this product. For products shared across an organization this may be a sibling account; otherwise it is your own account ID.
          - `name` string, required — The name of the product.
          - `description` string, nullable — The description of the product.
          - `document_description` string, nullable — Medical-grade description optimized for use in Letters of Medical Necessity and receipts.
          - `receipt_description` string, nullable — Shortened description tailored to receipt line items
          - `created_at` string, required — A timestamp encoded as an RFC 3339 / ISO 8601 string (e.g. `2026-06-15T14:30:00Z`).
          - `visit_type` 'cbtSleep' | 'notApplicable' | 'metabolomics' | 'tinnitus' | 'gym' | 'exerciseDiet' | 'orthopedic' | 'alcohol' | 'airPurification' | 'vaginalHealth' | 'menstrual' | 'canopy' | 'alopecia' | 'genate' | 'weightBlanket' | 'bedJet' | 'siderAl' | 'sunwinkPowder' | 'wavWatch' | 'bodyComplete' | 'ageRate' | 'nitrousOxide' | 'happyV' | 'groupChat' | 'icalmAnxiety' | 'redBloom' | 'foodom' | 'branchErgonomicFurniture' | 'curalife' | 'eloraInfantWellness' | 'nutriHealth' | 'olipop' | 'goldIntimate' | 'touchStoneEssentials' | 'utiva' | 'sleepGeekz' | 'figBrew' | 'auBabyBlanket' | 'babySleepSack' | 'oshWellness' | 'currentBodyRedLight' | 'mito' | 'circularRing' | 'lymaRedLight' | 'goodAirRx' | 'tastermonial' | 'karunaHome' | 'ergoStandingChair' | 'jbaGlucoseControl' | 'bloomNutrition' | 'buoyDrops' | 'luxeWonderWig' | 'saunaMarketplace' | 'amrioreEyewear' | 'pivotOrthoShoe' | 'lumenCynergy' | 'roga' | 'pulsetto' | 'mitoRedLight' | 'gutPersonal' | 'goFlaus' | 'myHixel' | 'calmigo' | 'dotFit' | 'stripesBeauty' | 'mixHers' | 'pmd' | 'positivityWithPurpose' | 'techRing' | 'popVeneers' | 'vertaClean' | 'lumen' | 'medicalMeal' | 'emnHealth' | 'detergentAllergy' | 'lowImpactExercise' | 'mediumImpactExercise' | 'highImpactExercise' | 'gardening' | 'babyCarrier' | 'smartGlasses' | 'coolingBed' | 'posture' | 'supplements' | 'sleep' | 'redLightTherapy' | 'fitness' | 'smartRing' | 'womensVaginalHealth' | 'fertilitySupport' | 'femaleReproduction' | 'femaleReproductionFood' | 'pregnancyLiterature' | 'iceBath' | 'orthopedicShoes' | 'sexualHealth' | 'glucose' | 'metabolicTest' | 'skinCare' | 'oralHealth' | 'oralAnxiety' | 'blueLightGlasses' | 'anxiety' | 'brainHealth' | 'babyMonitor' | 'compressionSocks' | 'compressionShorts' | 'waterPurification' | 'medSpa' | 'essentialOils' | 'sleepBuds' | 'latchLight' | 'nutritionist' | 'rairflow' | 'enduranceTraining' | 'hydration' | 'hairGrowth' | 'eD' | 'postureFitness' | 'childDevelopment' | 'adaptiveClothing' | 'adaptiveShoes' | 'sleepConsulting' | 'hairRemoval' | 'menopause' | 'maleFertility' | 'anxietyHealth' | 'bidets' | 'speechHealth' | 'artOfLiving' | 'breastMilk' | 'breathWork' | 'petSupport' | 'diapers' | 'gutSupplements' | 'smartWatch' | 'medicalBotox' | 'biomechanicalAssessment' | 'erectileReset' | 'femaleOrgasm' | 'pornAddiction' | 'memorySupport' | 'oralHealthMasticGum' | 'orthopedicSandals' | 'childDevelopmentAnxietySleep' | 'childDevelopmentAdjustment' | 'childDevelopmentBehavior' | 'childDevelopmentIdentity' | 'emnHealthMobility' — The name of the telehealth visit type.
          - `active` boolean, required — Determines if the product is active or not.
          - `upc_code` string, nullable — The upc code of the product.
          - `gtin` string, nullable — The gtin code of the product.
          - `reference_gtin` string, nullable — The GTIN of a private-label reference product, used to establish HSA/FSA eligibility.
          - `hsa_fsa_eligibility` 'not_eligible' | 'auto_substantiation' | 'private_label' | 'letter_of_medical_necessity' | 'prescription' | 'vision' | 'service' | 'pending', required — How a product qualifies for HSA/FSA payment, which determines the substantiation required to pay with a benefits card. `pending` means the product is still awaiting Flex's automatic classification, so its eligibility is not yet determined.
          - `test_mode` boolean, required — Whether the product is in test mode or not.
          - `metadata` object, nullable — Metadata associated with the product.
          - `url` string, nullable — The URL of the product.
          - `client_reference_id` string, nullable — An optional identifier for the product set by the client at creation time. Immutable after creation.
      - `created_at` string, required — A timestamp encoded as an RFC 3339 / ISO 8601 string (e.g. `2026-06-15T14:30:00Z`).
      - `type` 'one_time' | 'recurring', required — Whether the price is charged once or on a recurring schedule.
      - `metadata` object, nullable — Metadata information for the price object
      - `hsa_fsa_eligibility` 'not_eligible' | 'auto_substantiation' | 'private_label' | 'letter_of_medical_necessity' | 'prescription' | 'vision' | 'service' | 'pending' — How a product qualifies for HSA/FSA payment, which determines the substantiation required to pay with a benefits card. `pending` means the product is still awaiting Flex's automatic classification, so its eligibility is not yet determined.
      - `test_mode` boolean, required — Whether the price is in test mode.
    - `quantity` integer, required — Quantity of the product purchased.
    - `eligibility` 'not_eligible' | 'auto_substantiation' | 'private_label' | 'letter_of_medical_necessity' | 'prescription' | 'vision' | 'service' | 'pending', required — How a product qualifies for HSA/FSA payment, which determines the substantiation required to pay with a benefits card. `pending` means the product is still awaiting Flex's automatic classification, so its eligibility is not yet determined.
    - `shipping_rate` string, nullable — ID of the Shipping Rate applied to this line item, if one was selected.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Validation Error
- `429` — Too Many Requests

---

[API](https://skmtc.dev/withflex/apis/flex-api.md) · [All operations](https://skmtc.dev/withflex/apis/flex-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/withflex/flex-api/revisions/b1560fc2f199/schema)
