Add a Custom Field to a Campaign
Creates or updates a custom field scoped to the campaign with the given id. The custom field is available on the campaign's leads and can be populated via the Create or Update a Lead API.
The campaign id to add the custom field to.
{
"name": "Member Since",
"datatype": "DateTime"
}
Human-readable name of the custom field. Required.
Data type of the custom field. One of: String, Number, DateTime, Boolean, Picklist, Url.
Optional description shown in the UI.
Optional default value applied when the field is unset on a lead.
When true, the field must be populated on leads.
{
"Status": true,
"Message": "",
"Response": {
"apiname": "member_since",
"id": 4071
}
}
Numeric id of the newly-created or updated custom field.
Stable machine-readable identifier for the field (derived from name). Use this when sending the field value on a lead.