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

Authorization
string
header
required

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.