Skip to main content
OpportunitiesVersion: v3

Opportunities

Documentation for Opportunities API

📄️Upsert Opportunity

Create or update an opportunity. If `id` is sent, that opportunity is updated; an `id` that does not exist creates a new opportunity instead. Without `id`, `pipelineId` is required: when `contactId` is also sent, the most recent opportunity for that contact in that pipeline is updated; otherwise (no match, or no `contactId`) a new opportunity is created. A new opportunity without a contact needs `name`. Always returns 201: `new` is `true` when an opportunity was created and `false` when one was updated.