Line Items
Create a Line Item
API Documentation
Apps
- Overview
- Companies
- Experiences
- Members
- Memberships
- Products
- Payments
- Reviews
- Notifications
- Line Items
- App Connections
- Users
- Feed Content Items
- Inbound Webhooks
- Inbound Webhook Filters
- GETRetrieve the current app
- GETCheck Access
Company
- Overview
- Memberships
- Products
- Payments
- Reviews
- Users
- GETRetrieve the current company
Me
- Overview
- Memberships
- Products
- Payments
- Reviews
- Experiences
- Companies
- POSTCreate an OAuth Token
- GETRetrieve the current user
- GETList a User's social accounts
Chat
- Webhooks
Line Items
Create a Line Item
Create a line item for a company
POST
/
v5
/
app
/
line_items
curl --request POST \
--url https://{defaultHost}/v5/app/line_items \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"company_id": "<string>",
"amount": 123,
"base_currency": "usd",
"name": "<string>",
"description": "<string>",
"allow_multiple_quantity": true,
"metadata": {}
}'
{
"id": "<string>",
"created_at": 123,
"company_id": "<string>",
"app_id": "<string>",
"name": "<string>",
"description": "<string>",
"amount": 123,
"base_currency": "usd",
"allow_multiple_quantity": true,
"metadata": {}
}
Authorizations
App API key for /v5/app and /v5/company endpoints
Body
application/json
Response
201 - application/json
line item created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://{defaultHost}/v5/app/line_items \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"company_id": "<string>",
"amount": 123,
"base_currency": "usd",
"name": "<string>",
"description": "<string>",
"allow_multiple_quantity": true,
"metadata": {}
}'
{
"id": "<string>",
"created_at": 123,
"company_id": "<string>",
"app_id": "<string>",
"name": "<string>",
"description": "<string>",
"amount": 123,
"base_currency": "usd",
"allow_multiple_quantity": true,
"metadata": {}
}