Line Items
List Line Items
Returns a collection of line items
GET
/
v5
/
app
/
line_items
Authorization
Query
curl --request GET \
--url https://api.whop.com/api/v5/app/line_items \
--header 'Authorization: <authorization>'
{
"data": [
{
"allow_multiple_quantity": true,
"amount": 123,
"base_currency": "usd",
"created_at": 123,
"description": "<string>",
"id": "<string>",
"metadata": {},
"name": "<string>"
}
],
"pagination": {
"current_page": 123,
"next_page": 123,
"prev_page": 123,
"total_count": 123,
"total_pages": 123
}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
page
integer
default: 1The page number to retrieve
per
integer
default: 10The number of resources to return per page. There is a limit of 50 results per page.
company_id
string
An ID of a company to filter by, which will look like biz_*************
Response
200 - application/json
data
object[]
requiredpagination
object
requiredWas this page helpful?
curl --request GET \
--url https://api.whop.com/api/v5/app/line_items \
--header 'Authorization: <authorization>'
{
"data": [
{
"allow_multiple_quantity": true,
"amount": 123,
"base_currency": "usd",
"created_at": 123,
"description": "<string>",
"id": "<string>",
"metadata": {},
"name": "<string>"
}
],
"pagination": {
"current_page": 123,
"next_page": 123,
"prev_page": 123,
"total_count": 123,
"total_pages": 123
}
}