Skip to main content
PUT
/
api
/
rest
/
bills
/
{id}
Update One Bill
curl --request PUT \
  --url https://api.upwell.com/api/rest/bills/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "input": {}
}
'
{
  "updateBill": {
    "billLineItems": [
      {
        "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"
      }
    ],
    "carrierId": "<string>",
    "checkOrAchNumber": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "currency": "AED",
    "dueDate": "<string>",
    "id": "<string>",
    "issueDate": "<string>",
    "notes": "<string>",
    "payToAccount": "<string>",
    "proNumber": "<string>",
    "referenceNumber": "<string>",
    "sourceSystem": "<string>",
    "sourceSystemId": "<string>",
    "sourceSystemMeta": "<unknown>",
    "status": "<string>",
    "terms": "<string>",
    "totalAmount": 123,
    "updatedAt": "2023-11-07T05:31:56Z",
    "vendor": {
      "createdAt": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "name": "<string>",
      "sourceSystem": "<string>",
      "sourceSystemId": "<string>",
      "sourceSystemMeta": "<unknown>",
      "updatedAt": "2023-11-07T05:31:56Z"
    },
    "vendorId": "<string>"
  }
}

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 (enter it either in parameters or request body)

Body

application/json

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

id
string
input
BillsSetInput Ā· object

input type for updating data in table "bills"

Response

200 - application/json

Responses for PUT /api/rest/bills/{id}

updateBill
Bills Ā· object

columns and relationships of "bills"