Actions58
- Account Actions
- Contact Actions
- Custom Entity Actions
- Dynamic Actions
- Lead Actions
- Meeting Actions
- Task Actions
- Call Actions
- Opportunity Actions
- Case Actions
- Attachment Actions
- Document Actions
Opportunity → Update
AI-generatedSummary
Update an existing Opportunity in EspoCRM by specifying its ID and any fields to modify.
Inputs
- Opportunity ID (required) — ID of the opportunity to update.
- Update Fields — Collection of fields to update on the opportunity, including Name, Amount, Close Date, Stage, Probability, Lead Source, Account ID, Contact ID, Description, Assigned User ID, and Campaign ID.
Output shape
a single updated Opportunity record.
Returns the updated opportunity object reflecting all changes made. The operation requires a valid Opportunity ID; update fields are optional but at least one should be provided to apply changes.
Examples
Example 1: Update an opportunity's name and stage.
Set the Opportunity ID to the target record, and specify new values for 'Name' and 'Stage' in the Update Fields collection.