v1

latestOpenAPI 3.0.02026-07-261090122.9 KB
Invoices

Update Invoice Prices

put/invoices/{invoiceId}/price-update

Path parameters

invoiceIdstring required

Request body

object required

Example request

{
  "line_items": [
    {
      "id": 1,
      "line_components": [
        {
          "id": 1,
          "unit_cost": "10",
          "unit_price": "10"
        }
      ]
    },
    {
      "id": 2,
      "line_components": [
        {
          "id": 2,
          "unit_cost": "20",
          "unit_price": "20"
        }
      ]
    }
  ]
}

Response

Successful response