setOpportunityOutcome
Update the opportunity outcome to mark the opportunity as won or lost.
Arguments
Input fields for setting the outcome of a opportunity.
Returns
SetOpportunityOutcomeUpdate the opportunity outcome to mark the opportunity as won or lost.
Possible Errors
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 SetOpportunityOutcome($input: SetOpportunityOutcomeInput!) {
setOpportunityOutcome(input: $input) {
message
}
}
Variables
{
"input": SetOpportunityOutcomeInput
}
Response
{
"data": {
"setOpportunityOutcome": {
"message": "view-site-suffer-should-spring"
}
}
}