Updates properties of a specific lead
additionalInfo field uses merge/upsert behavior:
nullfollowUpConfig defines the follow-up schedule. Each step must include both hours and channel:
text, call, email
Optional properties:
voicemailEnabled (boolean): Only valid for call channel. If true, leaves a voicemail when call is not answered.followUpStep and/or followUpConfig, the timer always resets to now + hours:
The ID of the lead to update
Fields to update on the lead. All fields are optional.
The email address of the lead. Must be a valid email format.
The timezone of the lead in tz database format (e.g. America/New_York).
Key-value object to merge with existing additionalInfo. Set a value to null to remove that key.
Follow-up schedule configuration. Keys are step numbers (1, 2, 3, etc.), values are objects with hours and channel.
The follow-up step to schedule. Use positive integers (1, 2, 3, ...) for specific steps, -1 for STOPPED, or -2 for LONG_TERM.
Lead updated successfully.
Returns "Lead updated successfully." when the update completes.