PATCH
/
v5
/
app
/
line_items
/
{id}
curl --request PATCH \
  --url https://{defaultHost}/v5/app/line_items/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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

Path Parameters

id
string
required

The ID of the line item, which will look like li_*************

Body

application/json

Response

200 - application/json

line item updated

The response is of type object.