Templates

Partially update a template

Merges the given fields into the existing document - omitted fields are left unchanged. Nothing is required (unlike create) since every field is optional on a partial update.

patch/v1/projectId/{projectId}/templates/{id}

Request

  • Base URL: https://api.bluefox.email
  • URL: https://api.bluefox.email/v1/projectId/{projectId}/templates/{id}
  • Auth: HTTP bearer

Path parameters

projectIdstring required

The project _id, found in the app under Project Settings.

idstring required

Request body

namestring
subjectstring
previewTextstring

On PATCH, pass an empty string to clear it.

documentunknown
tagsstring[]
onProjectCreation'do-nothing' | 'set-as-transactional' | 'set-as-triggered' | 'set-as-campaign'

Response

OK

statusinteger

Example response

{
  "status": 200
}

Changes

No recorded changes to this operation across all 1 revision of this API.