Delete an Opportunity

Deletes an opportunity object in your ChartMogul account.

🚧

Access to the Opportunities endpoints

To use the Opportunities endpoints, you need an API key created by a user with a CRM seat.

Examples

curl -X DELETE "https://api.chartmogul.com/v1/opportunities/4ee13ca4-e7fe-11ee-fa7f-f303abf41acc" \
     -u YOUR_API_KEY:
ChartMogul::Opportunity.delete("4ee13ca4-e7fe-11ee-fa7f-f303abf41acc").destroy!
ChartMogul.Opportunity.destroy(config, "4ee13ca4-e7fe-11ee-fa7f-f303abf41acc");
ChartMogul\Opportunity::retrieve("4ee13ca4-e7fe-11ee-fa7f-f303abf41acc")->destroy();
api.DeleteOpportunity("4ee13ca4-e7fe-11ee-fa7f-f303abf41acc")
chartmogul.Opportunity.destroy(config, uuid="4ee13ca4-e7fe-11ee-fa7f-f303abf41acc")

Result Format

{}
true
{}
true
nil
None
Language