Update template

Updates an existing template by its ID.

Path Parameters

ParameterTypeRequiredDescription
idintegerYesTemplate unique identifier

Body Fields

FieldTypeRequiredDescription
titlestringNoTemplate title/name
typestringNoTemplate type: email, notice, or cgv
contentstringNoTemplate content (HTML supported)
subjectstringNoEmail subject line (for email templates)
byDefaultSendDealbooleanNoSet as default for sending quotations

Response Fields

FieldTypeDescription
idintegerTemplate unique identifier
titlestringTemplate title
typestringTemplate type
contentstringTemplate content
subjectstringEmail subject
byDefaultSendDealbooleanDefault for sending quotations
createdAtdatetimeCreation timestamp
updatedAtdatetimeLast update timestamp

Response

  • 200 OK: Template successfully updated
  • 400 Bad Request: Invalid request body or validation error
  • 401 Unauthorized: Invalid or missing API key
  • 404 Not Found: Template not found
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Body Params
string
string
string
boolean
Responses
200

Resource updated

400

Bad request

401

Unauthorized

404

Resource not found

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!