Skip to main content
PATCH
/
invoice
/
status
Update Status
curl --request PATCH \
  --url https://api.dev.uselevers.com/api-service/v1/invoice/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "UNPAID",
  "uuid": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorization

All endpoints require Bearer token authentication.
HeaderTypeRequiredDescription
AuthorizationstringYesBearer authentication header of the form Bearer <token>

Getting Your API Key

See the Quickstart guide for instructions on obtaining your API credentials.

Request Body

ParameterTypeRequiredDescription
statusstringYesStatus: PAID or UNPAID
uuidarray of UUIDYesList of invoice UUIDs to update

Authorizations

Authorization
string
header
required

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

Body

application/json
status
enum<string>
required

An enumeration.

Available options:
UNPAID,
PAID
uuid
string<uuid>[]
required

Response

Successful Response