Ana içeriğe atla
PUT
Update an offer template

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Yol Parametreleri

id
integer
gerekli

The offer template identifier

Gövde

application/json
name
string

The template name.

Maximum string length: 255
content
string

The template HTML. %placeholder% variables from GET /offer-templates/variables are filled in when a PDF is generated.

Maximum string length: 1000000
is_default
boolean

Whether this is the tenant's default template. Setting it clears the flag on every other template.

is_active
boolean

Whether the template can be picked for PDF generation.

Yanıt

success
string
gerekli
data
OfferTemplateResource · object
gerekli