Update Opportunity
PUT/crm/opportunities/:opportunityId
Update Opportunity
Request
Path Parameters
The unique identifier for the opportunity.
Query Parameters
The ID of the credential.
Header Parameters
Default value: bearer YOUR_API_KEY
- application/json
Body
The name or title of the sales opportunity.
The current stage of the sales process that the opportunity is in, such as 'Qualification', 'Proposal', etc.
The projected or actual date on which the opportunity will be or was closed.
The monetary value or revenue potential of the opportunity.
A detailed description of the sales opportunity.
An object containing remote fields that are not supported by the common model. The keys are the names of the fields of the corresponding resource in the remote app, and the values can be strings, numbers, arrays or objects.
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
opportunity
object
Default value: 0
Default value: true
{
"opportunity": {
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "1000000000001",
"opportunityName": "Innovative Tech Solutions",
"opportunityDescription": "Developing new software tools for market research",
"amount": 120000,
"opportunityOwner": "1000000000002",
"opportunityAccount": "1000000000003",
"opportunityStage": "Proposal/Price Quote",
"opportunityStatus": "Active",
"lastActivityAt": "2023-09-20",
"closeDate": "2023-12-15",
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
{
"opportunity": {
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "1000000000001",
"opportunityName": "Innovative Tech Solutions",
"opportunityDescription": "Developing new software tools for market research",
"amount": 120000,
"opportunityOwner": "1000000000002",
"opportunityAccount": "1000000000003",
"opportunityStage": "Proposal/Price Quote",
"opportunityStatus": "Active",
"lastActivityAt": "2023-09-20",
"closeDate": "2023-12-15",
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
{}
{}