Productive icon

Productive

Interact with the Productive API

Actions508

Deals → Update a deal

AI-generated

Summary

Update an existing deal in Productive by specifying its deal ID and providing new deal data as input.

Inputs

  • id (required) — The unique identifier of the deal to update.
  • additionalFields — An optional collection of fields representing the properties of the deal to update, such as name, status, value, etc.

Output shape

a single JSON object representing the updated deal

Returns the details of the deal after update. The input 'id' is used to identify the deal to update, and updated fields must be specified in additional input parameters (not explicitly shown in the scoped properties). Handles errors by returning an error object if 'continueOnFail' is enabled.

Examples

Example 1: Update a deal with ID '12345' to change its name and status.

Set 'id' parameter to '12345' and provide updated fields such as 'name' and 'dealStatus' in the node's additional fields collection.

Discussion