updateOpportunityAssignment
Update assignment fields for an Opportunity.
Arguments
Input fields for creating an opportunity.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
- KT-CT-8903: Unable to update opportunity.
- KT-CT-8906: Opportunity not found.
- KT-CT-8913: Organisation is not valid to be assigned.
- KT-CT-8946: A team must also be provided when assigning a user.
- KT-CT-8947: The team you specified was not found.
- KT-CT-8948: The user you specified was not found.
- KT-CT-8949: The selected team does not belong to the specified partner.
- KT-CT-8950: The selected user does not belong to the specified partner.
- KT-CT-8951: The selected user is not a member of the specified team.
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 UpdateOpportunityAssignment($input: UpdateOpportunityAssignmentInput!) {
updateOpportunityAssignment(input: $input) {
updatedOpportunityData
}
}
Variables
{
"input": UpdateOpportunityAssignmentInput
}
Response
{
"data": {
"updateOpportunityAssignment": {
"updatedOpportunityData": {"key": "value"}
}
}
}