Template Custom Fields
Updates envelope custom fields in a template
Updates the custom fields in a template.
Each custom field used in a template must have a unique name.
Authorization
OAuth2 AuthorizationBearer <token>
OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.
In: header
Path Parameters
accountId*string
The external account number (int) or account ID GUID.
templateId*string
The ID of the template.
Request Body
application/json
listCustomFields?array<>
An array of list custom fields.
textCustomFields?array<>
An array of text custom fields.
Response Body
application/json
application/json
curl -X PUT "https://example.com/v2.1/accounts/string/templates/string/custom_fields" \ -H "Content-Type: application/json" \ -d '{}'{ "listCustomFields": [ { "configurationType": "string", "errorDetails": { "errorCode": "string", "message": "string" }, "fieldId": "string", "listItems": [ "string" ], "name": "string", "required": "string", "show": "string", "value": "string" } ], "textCustomFields": [ { "configurationType": "string", "errorDetails": { "errorCode": "string", "message": "string" }, "fieldId": "string", "name": "string", "required": "string", "show": "string", "value": "string" } ]}