Actions22
Opportunity → Update
AI-generatedSummary
Updates an existing Bolten opportunity, optionally setting or modifying its dynamic attributes
Inputs
- componentId (required) — UUID of the Kanban component (get it from Project → Get Components)
- opportunityId (required) — UUID of the opportunity to update
- jsonMode — Whether to provide attributes as raw JSON instead of key/value pairs
- attributesUi — Attributes as key/value pairs (array of objects each with key and value)
- attributesJson — Attributes object as raw JSON
Output shape
the updated opportunity record
returns a single opportunity object; no pagination or error envelope — success returns the updated resource
Examples
Example 1: Update an opportunity using key/value attribute pairs
Set componentId, opportunityId, jsonMode=false, add attribute entries in attributesUi
Example 2: Update an opportunity using raw JSON for attributes
Set componentId, opportunityId, jsonMode=true, provide attributesJson with a JSON object