Skip to main content
PATCH
/
v1
/
admin
/
finance
/
invoice-templates
/
{id}
Update an invoice template
curl --request PATCH \
  --url https://{operatorDomain}/v1/admin/finance/invoice-templates/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "invt_01HZX...",
  "name": "<string>",
  "body": "<string>"
}
'
{
  "data": {
    "id": "invt_01HZX...",
    "name": "<string>",
    "body": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Path Parameters

id
string
required

Body

application/json
id
string
required
Example:

"invt_01HZX..."

name
string
required
body
string

Template body (markup).

Response

200 - application/json

Updated template

data
object