v1

latestOpenAPI 3.1.02026-07-241910582.8 KB

Update Line Item

Update a single line item

patch/{itemizable_type}/{itemizable_id}/line_items/{id}

Path parameters

itemizable_typestring required

One of payment_orders or expected_payments

itemizable_idstring required

The ID of the payment order or expected payment

idstring required

The ID of the line item.

Request body

metadatastring json

Response

200

idstring
amountinteger
descriptionstring
accounting_category_idstring

Example response

{
  "id": "ca12b3ec-884f-41f7-bde8-43e813dab5fa",
  "amount": 20000,
  "description": "Principal For Loan #123",
  "metadata": {
    "Type": "Principal"
  },
  "accounting_category_id": "5285cb7f-46d3-44e7-9acd-2cc04ee131f5"
}