Update an email template.The Health Cloud Starter and Life Sciences Commercial
Admin Permission Sets are required for accessing this API. To know more, see Email Template and Intelligent Content.
Resource
/connect/life-sciences/commercial/bulk-email-template
Resource Example
Replace {yourInstance} with the My Domain name of your Salesforce org.
https://{yourInstance}.salesforce.com/services/data/v68.0/connect/life-sciences/commercial/bulk-email-template
Available Version
65.0
HTTP Methods
PATCH
Request Body for PATCH
{
"emailSubject": "Welcome",
"contentDocumentId": "069xx0000004CAeAAM",
"name": "Welcome Email",
"activatedDate": "2025-06-03T15:00:00.000Z",
"senderType": "SYSTEM",
"senderEmailFieldAPIName": "noreply@company.com",
"replyToType": "USER",
"replyToEmailAddress": "support@company.com",
"id": "email-template-id",
"deactivatedDate": "2025-01-01T00:00:00.000Z",
"description": "This is a welcome email template used for onboarding new users.",
"attachmentObjectTypes": [
"PDF",
"DOCX"
],
"customFields": [
{
"fieldName": "user",
"fieldValue": "admin"
},
{
"fieldName": "standard",
"fieldValue": "user"
}
],
"languages": [
"en",
"es"
],
"isActive": true,
"surveyId": "sample-survey-id",
"productId": "sample-product-id",
"communicationSubscriptionId": "sample-comm-subscription-id",
"topics": [
"Onboarding",
"User Engagement"
],
"shouldIgnoreEmailConsent": false,
"isSubjectLineEditable": true,
"bccEmailIdList": "bcc@example.com",
"automatedEmailContextType": "ProviderVisit",
"automatedEmailActionType": "Create",
"isDefaultAutoEmailTemplate": false
}
Properties