Skip to main content
GET
/
v1
/
line_items
List
curl --request GET \
  --url https://{defaultHost}/v1/line_items \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "pagination": {
    "count": 1,
    "limit": 20,
    "page": 1,
    "url": "/v1/line_items"
  },
  "data": [
    {
      "id": "eeebd876-dfba-4bca-9f2c-a9fb48f04c1e",
      "object": "line_item",
      "ad_hoc_amount": null,
      "discount_amount": 0,
      "fees_amount": 0,
      "full_amount": 2900,
      "fulfilled_quantity": 0,
      "locked": false,
      "note": null,
      "purchasable_status": "purchasable",
      "quantity": 1,
      "g_weight": 0,
      "unit_g_weight": 0,
      "scratch_amount": 2900,
      "stock_held": false,
      "subtotal_amount": 2900,
      "tax_amount": 0,
      "tax_rate": 0,
      "total_amount": 2900,
      "total_savings_amount": 0,
      "trial": false,
      "trial_amount": 0,
      "variant_options": null,
      "variant_option_names": null,
      "bump": null,
      "checkout": "ae8b9901-f5c7-4e40-bb20-5e71dd9c18b8",
      "price": "7c9bf264-2208-4c38-8fbd-d61cb7151156",
      "upsell": null,
      "variant": null,
      "swap": null,
      "created_at": 1767909717,
      "updated_at": 1767909717
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

checkout_ids[]
string[]

Only return objects that belong to the given checkouts.

ids[]
string[]

Only return objects with the given IDs.

limit
integer

A limit on the number of items to be returned, between 1 and 100.

page
integer

The page of items you want returned.

Response

200 - application/json

Success

object
string

A string describing the object type returned.

pagination
object
data
array

An array of objects.