Skip to main content
PATCH
/
api
/
rest
/
bill_line_items
/
{id}
Update One Bill Line Item
curl --request PATCH \
  --url https://api.upwell.com/api/rest/bill_line_items/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": {
    "description": "<string>",
    "item": "<string>",
    "lineNumber": "<string>",
    "quantity": 123,
    "sourceSystem": "<string>",
    "sourceSystemId": "<string>",
    "totalAmount": 123,
    "unitPrice": 123
  }
}
'
{
  "updateBillLineItem": {
    "billId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "id": "<string>",
    "item": "<string>",
    "lineNumber": "<string>",
    "quantity": 123,
    "sourceSystem": "<string>",
    "sourceSystemId": "<string>",
    "totalAmount": 123,
    "unitPrice": 123,
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Headers

authorization
string

Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY

Path Parameters

id
string
required

_"id" is required

Body

application/json

Query parameters can also be provided in the request body as a JSON object

input
BillLineItemsSetInput · object

input type for updating data in table "bill_line_items"

Response

200 - application/json

Responses for PATCH /api/rest/bill_line_items/{id}

updateBillLineItem
BillLineItems · object

columns and relationships of "bill_line_items"