Skip to main content

Arguments

input : SetOpportunityOutcomeInput! required

Input fields for setting the outcome of a opportunity.

Returns

SetOpportunityOutcome

Update the opportunity outcome to mark the opportunity as won or lost.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can update leads

Query Complexity

1

Examples

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.

Query

mutation SetOpportunityOutcome($input: SetOpportunityOutcomeInput!) { setOpportunityOutcome(input: $input) { message } }

Variables

Response

{ "data": { "setOpportunityOutcome": { "message": "view-site-suffer-should-spring" } } }