Skip to main content
PUT
/
bill
/
{billId}
Update a bill
curl --request PUT \
  --url https://rest.staging.nickel.com/bill/{billId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "internalNote": "<string>",
  "reference": "<string>",
  "s3Urls": [
    "<string>"
  ],
  "amountCents": 123,
  "dueDateEpochMillis": 123
}
'
{
  "id": "<string>",
  "amountDueInCents": 123,
  "totalAmountInCents": 123,
  "vendorId": "<string>",
  "vendorName": "<string>",
  "dueDate": "<string>",
  "reference": "<string>",
  "status": "<string>",
  "documents": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

billId
string
required

ID of the bill to update

Body

application/json

Update an existing bill

internalNote
string
reference
string
s3Urls
string[]
amountCents
integer<int64>
dueDateEpochMillis
integer<int64>

Response

Successful operation

id
string
amountDueInCents
integer<int64> | null
totalAmountInCents
integer<int64> | null
vendorId
string | null
vendorName
string | null
dueDate
string | null
reference
string | null
status
string | null
documents
string[]