PUT
/
v0
/
payable-lines
/
{payable_line_id}
curl --request PUT \
  --url https://api.sandbox.teal.dev/v0/payable-lines/{payable_line_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'teal-instance-id: <teal-instance-id>' \
  --data '{
  "ledger_id": "CNmWM3X6AcvRdEwZKxq4bL",
  "tag_ids": [
    "<string>"
  ],
  "description": "Veterinarian Consultation",
  "amount": 10237.23
}'
This response has no body data.

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The Teal instance ID

Path Parameters

payable_line_id
string
required

The payable line ID

Body

application/json
ledger_id
string | null
tag_ids
string[] | null

The tag ids of the tags associated with this payable line.

description
string | null
amount

The amount of the payable line.