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": "bb83b3f2-2082-4038-9743-434859accec4",
      "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": "992a7426-564d-49b8-a2e5-7910767a7d56",
      "price": "48c30a68-1ced-45ed-8631-84e4fce00cf4",
      "upsell": null,
      "variant": null,
      "swap": null,
      "created_at": 1769674959,
      "updated_at": 1769674959
    }
  ]
}

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.