cURL
curl --request PUT \ --url https://api.example.com/api/Opportunities/Close \ --header 'Content-Type: application/json' \ --data ' { "opportunityIds": [ 123 ], "reason": 123, "comments": "<string>", "stageID": 123 } '
This endpoint allows closing multiple opportunities in a single request. The opportunities will be marked as closed with the specified reason and comments. Activities will be created for each closed opportunity.
Contains the list of opportunity IDs to close, reason for closure, and comments.
OK
Was this page helpful?