Skip to main content
GET
/
v1
/
consumer
/
orders
/
{id}
/
line_items
List Line Items For Order
curl --request GET \
  --url https://api.withflex.com/v1/consumer/orders/{id}/line_items \
  --header 'Authorization: Bearer <token>'
{
  "line_items": [
    {
      "line_item_id": "obj_01EXAMPLE00000000000000000",
      "amount_discount": 0,
      "amount_subtotal": 0,
      "amount_tax": 0,
      "amount_total": 0,
      "amount_shipping": 0,
      "amount_fee": 0,
      "description": "string",
      "fees": [],
      "price": {},
      "quantity": 0,
      "eligibility": "not_eligible",
      "shipping_rate": "string"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.withflex.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a Bearer token to access this API.

Path Parameters

id
string
required
Example:

"obj_01EXAMPLE00000000000000000"

Response

Success

line_items
object[]
required