Update a document template
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
PUT /api/v1/document-template/{documentTemplate_uuid}
curl \
-X PUT https://api.plannrcrm.com/api/v1/document-template/documentTemplate_uuid \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
-d '{"name":"Welcome Template"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Welcome Template"
}
Response examples (200)
{
"name": "Welcome Template",
"uuid": "d2b9d80b-d3eb-46fb-82c7-fa28a963b83d",
"version": 3,
"created_at": "2024-11-20T13:24:02+00:00",
"updated_at": "2024-11-20T13:24:02+00:00",
"public_pdf_url": "https://plannr.valet/document-template/e5710af2-cfae-4f14-af06-a6cac10b22fc/content/pdf?plannr_account_uuid=66cab923-aff7-4fcb-a96a-90c0d6c4837b",
"public_docx_url": "https://plannr.valet/document-template/3b3fad5e-5d1a-4607-8e39-78c71d491c43/content/docx?plannr_account_uuid=21ecfc69-27d8-4e2f-9798-1189aab6b175",
"public_sfdt_url": "https://plannr.valet/document-template/8ff0b6e7-9c30-46d1-a539-61780b1fc321/content/sfdt?plannr_account_uuid=e1a5ec5c-78a1-47ad-9779-05a50452eee8",
"public_preview_url": "https://plannr.valet/document-template/9ce4598e-9e15-48d8-b5c2-a6c2c1928df2/content/preview?plannr_account_uuid=5e9dca11-7374-46fc-99eb-c4d6a1846a4d",
"required_dependants": {
"client-1": "client"
}
}