EspoCRM icon

EspoCRM

Interact with EspoCRM API

Opportunity → Update

AI-generated

Summary

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.

Links

Discussion