WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Sales Opportunities → Update opportunity

AI-generated

Summary

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.

Links

Discussion