CrmOpportunities
Update CrmOpportunity
Update an existing CrmOpportunity record.
PUT
Update CrmOpportunity
Updates an existing CrmOpportunity record. You must include the
Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the CrmOpportunity-Edit role.Enums
eCrmOpportunitySource
eCrmOpportunitySource
eCrmOpportunityLossReason
eCrmOpportunityLossReason
eCrmOpportunityStatus — Status values
eCrmOpportunityStatus — Status values
Request Body
Required Fields
ID of the CRM stage that contains this opportunity and determines its location access; changing it moves the opportunity and runs that stage’s arrival actions..
ID of the customer this opportunity tracks; a customer is required by backend validation even though the relationship metadata is nullable..
Lifecycle status: InProgress (1) is active, Won (2) records a successful outcome, and Lost (3) records an unsuccessful outcome; setting Won or Lost stamps the matching terminal timestamp if it is empty..
Requested relative display order among in-progress opportunities in the current stage; the server normalizes the stage order after create or update..
Optional Fields
Optional operator-facing label for this opportunity, useful when a customer has opportunities in multiple CRM boards..
Whether this opportunity is marked complete; use Status to record whether it was won or lost..
Optional date and time by which this opportunity requires follow-up; the backend compares it against UTC for overdue CRM counts..
Optional expected revenue amount if this opportunity is won, in the parent CRM board location’s currency..
Whether a follow-up reminder has already been sent for this opportunity; this internal state is not exposed to Admin Tool schemas..
Optional acquisition source: Web, Phone, Webinar, Referral, PrintAdvert, PurchasedList, WordOfMouth, DirectEmail, EmailMarketing, Broker, PropertyAgent, Facebook, Linkedin, Instagram, Twitter, HubbleHq, LiquidSpace, GoogleSearch, SpacePool, InstantOffices, OfficeFreedom, FlexiOffices, Workthere, Kontor, Valve, OtherSocialNetwork, or Other.. See
eCrmOpportunitySource? enum above.Optional reason for a lost opportunity: Timing, Need, PoorQualification, Price, Feature, LostMomentum, Competition, ContractTerm, Duplicate, Waitlist, NotReturningCalls, LackOfFacilities, NoPetPolicy, NoRightFit, Location, Entrance, Errors, Archived, SearchOnHold, RelocationOnHold, or Other; use only when Status is Lost.. See
eCrmOpportunityLossReason? enum above.Read-only UTC timestamp set when Status first becomes Won; change Status rather than setting this date directly..
Read-only UTC timestamp set when Status first becomes Lost; change Status rather than setting this date directly..
Optional UTM source attribution captured from the URL used to submit the originating contact or sign-up form..
Optional UTM medium attribution captured from the URL used to submit the originating contact or sign-up form..
Optional UTM campaign attribution captured from the URL used to submit the originating contact or sign-up form..
Optional UTM content attribution captured from the URL used to submit the originating contact or sign-up form..
Optional UTM search-term attribution captured from the URL used to submit the originating contact or sign-up form..
Code Examples
Response
200
Example Response
400
Example Response