updateLeadDetails
Update the details of a lead.
Arguments
Fields for updating a lead's details.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
- KT-CT-8907: Lead not found.
- KT-CT-8912: Funnel not found.
- KT-CT-8913: Organisation is not valid to be assigned.
- KT-CT-8931: Extra detail value is invalid.
- KT-CT-8935: National ID bad input.
- KT-CT-8956: Conflicting address inputs.
Allowed Viewers
Required Permissions
Can update leadsQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation UpdateLeadDetails($input: UpdateLeadDetailsInput!) {
updateLeadDetails(input: $input) {
updatedLeadData
}
}
Variables
{
"input": UpdateLeadDetailsInput
}
Response
{
"data": {
"updateLeadDetails": {
"updatedLeadData": {"key": "value"}
}
}
}