cURL
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": {} }
Updates a line item’s metadata field
App API key for /v5/app and /v5/company endpoints
The ID of the line item, which will look like li_*************
line item updated
The response is of type object.
object
Was this page helpful?