Magidoc

closeOpportunity
Mutation

Closes an opportunity as won, lost, or dormant and applies its close-stage fields. Use this rather than updateOpportunity for explicit closure; both use the same close bundle. Confirm with the user before closing a Salesforce-synced opportunity whose externalId is set.

Arguments

#

input

Non-null

workspaceId

ID !
Non-null

Response

#

Returns Opportunity !.

Example

#