Skip to main content
PATCH
/
v1
/
invoices
/
{id}
Update an invoice
curl --request PATCH \
  --url https://revstack.dev/v1/invoices/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "dueDate": "2023-11-07T05:31:56Z",
  "status": "draft"
}
'
null

Path Parameters

id
string
required
Example:

"inv_abc123"

Body

application/json
dueDate
string<date-time>
status
enum<string>
Available options:
draft,
open,
paid,
void,
uncollectible

Response

200 - application/json

Invoice updated

The response is of type unknown.