Skip to main content
POST
Set the default PDF template

Authorizations

Authorization
string
header
required

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

Headers

x-finops-version
string<date>
required
x-organization-id
string<uuid>
required

The ID of the entity that owns the requested resource.

Example:

"9d2b4c8f-2087-4738-ba91-7359683c49a4"

Path Parameters

document_template_id
string<uuid>
required

Response

Successful Response

id
string<uuid>
required
document_type
enum<string>
required
Available options:
receivable,
delivery_note,
purchase_order,
payable
is_default
boolean
required
language
string
required
name
string
required
template
string
required
created_at
string<date-time>
updated_at
string<date-time>
blocks
string[]
preview
object
template_type
enum<string>
default:source_object
Available options:
block,
source_object