openintegration200+ connectors

Update opportunity in Salesflare

CRM API · write, waits for approval · 100% field coverage

Your agent can update opportunity in Salesflare through Apideck's CRM API, the same call it makes for every CRM app. It changes data in the customer's Salesflare account, so it stops with the exact request until a person approves it. Apideck adds the customer's Salesflare credentials, so no token ever reaches the agent.

Paste into Claude Code, Cursor or any coding agent.

The call

PATCH https://unify.apideck.com/crm/opportunities/{id}

Headers: x-apideck-service-id: salesflare, plus your app id and the customer's consumer id. Apideck MCP tool: crm-opportunities-update. Agent operation id: unified.crm.opportunitiesUpdate.

ParameterInDescription
id · requiredpathID of the record you are acting upon.

Body fields

FieldTypeDescription
title · requiredstringThe title or name of the opportunity.
primary_contact_idstringThe unique identifier of the primary contact associated with the opportunity.
descriptionstringA description of the opportunity.
typestringThe type of the opportunity
monetary_amountnumberThe monetary value associated with the opportunity
currencystringIndicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/
win_probabilitynumberThe probability of winning the opportunity, expressed as a percentage.
close_datestringThe actual closing date for the opportunity. If close_date is null, the opportunity is not closed yet.
loss_reason_idstringThe unique identifier of the reason why the opportunity was lost.
loss_reasonstringThe reason why the opportunity was lost.
won_reason_idstringThe unique identifier of the reason why the opportunity was won.
won_reasonstringThe reason why the opportunity was won.
pipeline_idstringThe unique identifier of the pipeline associated with the opportunity
pipeline_stage_idstringThe unique identifier of the stage in the pipeline associated with the opportunity.
source_idstringThe unique identifier of the source of the opportunity.
lead_idstringThe unique identifier of the lead associated with the opportunity.
lead_sourcestringThe source of the lead associated with the opportunity.
contact_idstringThe unique identifier of the contact associated with the opportunity.
contact_idsarrayAn array of unique identifiers of all contacts associated with the opportunity.
company_idstringThe unique identifier of the company associated with the opportunity.
company_namestringThe name of the company associated with the opportunity.
owner_idstringThe unique identifier of the user who owns the opportunity.
prioritystringThe priority level of the opportunity.
statusstringThe current status of the opportunity.
status_idstringThe unique identifier of the current status of the opportunity.
tagsarray
custom_fieldsarray
stage_last_changed_atstringThe date and time when the stage of the opportunity was last changed.

More for opportunities in Salesflare

list_opportunitiescreate_opportunityget_opportunitydelete_opportunity

Update opportunity in other CRM apps

The same call works for each of these; only the service id changes.

ActActiveCampaignAttioCloseCopperFreshworks CRMHubSpotMicrosoft Dynamics CRMOdooPipedrivePlanhatSalesforceTeamleaderZendesk SellZoho CRM