Actions227
- Jobs Actions
- Search jobs or stages with complex filters
- Get job by ID or job number
- Cancel a job
- Create a new job
- Create a new job from template
- Set job finance marks
- Update job status
- Update a job
- Dispatch a job
- List job stages
- Get job stage
- List stage items
- Create stage items
- Get stage item
- Update stage item
- Delete stage item
- Items Actions
- Pending Items Actions
- Stages Pending Items Actions
- Stages Actions
- Stages Resources Actions
- Stages Appointments Actions
- Settings Reference Data Actions
- Settings Templates Actions
- Settings Items Actions
- Settings Custom Fields Actions
- Attachments Actions
- Jobs Activities Actions
- List activities (Jobs)
- List email or SMS templates for this record (Jobs)
- List merge fields for this record's templates (Jobs)
- Get activity by ID (Jobs)
- Delete activity (Jobs)
- Create note activity (Jobs)
- Create email activity (Jobs)
- Create SMS activity (Jobs)
- Preview an email activity (Jobs)
- Preview an SMS activity (Jobs)
- Create phone activity (Jobs)
- Create integration activity (Jobs)
- Create thread activity (Jobs)
- Stages Activities Actions
- List activities (Stages)
- List email or SMS templates for this record (Stages)
- List merge fields for this record's templates (Stages)
- Get activity by ID (Stages)
- Delete activity (Stages)
- Create note activity (Stages)
- Create email activity (Stages)
- Create SMS activity (Stages)
- Preview an email activity (Stages)
- Preview an SMS activity (Stages)
- Create phone activity (Stages)
- Create integration activity (Stages)
- Create thread activity (Stages)
- Jobs Files Actions
- Stages Files Actions
- Jobs Tasks Actions
- Stages Tasks Actions
- Jobs Contacts Actions
- Crm Customers Actions
- Crm Employees Actions
- Crm Contractors Actions
- Crm Suppliers Actions
- Crm Companies Actions
- Crm External Users Actions
- Crm Contacts Actions
- Crm Invites Actions
- Crm Sites Actions
- Webhooks V2 Actions
- List webhook-supported entity types and their available events
- List the webhook events available for a given entity type
- List the filter fields available when subscribing to a given entity type
- List webhook subscriptions
- Create a webhook subscription
- Get a webhook subscription by ID
- Update a webhook subscription
- Delete a webhook subscription
- Regenerate the signing secret for a webhook subscription
- Send a test event to a webhook subscription
- List recent delivery attempts for a webhook subscription
- Data Export Actions
- Agents Actions
- Flags Actions
- Service Plans Actions
- Service Plans Lines Actions
- Service Plans Lines Tasks Actions
- Service Plans Lines Tasks Subtasks Actions
- Sales Leads Actions
- Sales Opportunities Actions
- Mcp Actions
Sales Opportunities → Update opportunity
AI-generatedSummary
Update an existing sales opportunity in WorkBuddy by specifying its ID and providing any fields to change such as name, customer, owner, amount, probability, expected close date, and various related entity IDs or snapshots.
Inputs
- Id (required) — WorkBuddy Opportunity ID to identify which sales opportunity to update.
- Name — Updated name of the opportunity.
- Customer Id — Select an existing active customer ID to associate with the opportunity.
- Billing Company Id — Billing company ID in WorkBuddy (distinct from CRM Company account ID).
- Owner Id — Employee owner ID for the opportunity.
- Area Manager Id — Area manager ID to assign.
- Description — Detailed description of the opportunity.
- Amount — Monetary value related to the opportunity.
- Probability — Estimated probability of closing the opportunity, can reflect stage default probability.
- Expected Close — Expected closing date for the opportunity.
- Job Type Id — Job type identifier.
- Source Id — Lead source label ID.
- Tag Ids — Comma-separated or array of Opportunity label IDs; null or empty clears labels.
- Site Id — CRM site ID associated with the customer.
- Site — Ad-hoc site snapshot (cannot be used together with Site Id).
- Contact Id — Contact ID linked to the customer or site.
- Site Contact Id — Site-contact snapshot from an associated contact. Null clears this field.
- Contact — Name-only ad-hoc contact snapshot, mutually exclusive with Contact Id.
- Customer Site Id — Customer-side address site ID related to the customer.
Output shape
a single updated sales opportunity record
Returns the updated sales opportunity object from WorkBuddy API. The operation requires the opportunity's WorkBuddy ID and accepts partial fields to update. Optional request-level settings like batching, timeout, proxy, and SSL verification can be configured.
Examples
Example 1: Update the name and amount of a specific sales opportunity
Specify Id with existing opportunity ID; provide updated Name and Amount values.