PUT
/
invoices
/
{invoice_id}
/
items
/
{item_id}
curl --request PUT \
  --url https://api.live.paisr.tech/{version}/invoices/{invoice_id}/items/{item_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "<string>",
  "quantity": 123,
  "unit_price": 123
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

invoice_id
string
required

The Invoice ID.

item_id
string
required

The Item ID.

Body

application/json
The details required to update an invoice item.
description
string

Detailed description about the item.

quantity
number

Number of units.

unit_price
number

Price per unit.

Response

200
application/json
Successfully updated invoice item.
success
boolean

Indicates if the request was successful.

message
string

A descriptive message regarding the result.