Update a business
Updates the specific business by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Supply the unique business ID from either a business creation request or the business list.
Update a contact
PATCH
https://api.treevox.com/v1/business/:id
Updates the specific business by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path Parameters
id*
Number
The Id of the business to be update
Headers
Request Body
title
String
Business Title
value
Number
Business Value
deadline
Date
Business Deadline
private
Boolean
Business Private
position
Number
Business Position
dateWon
Date
Business date when the business was marked as won.
reasonLost
String
Business reason for marking it as lost.
organizationId
Number
Organization ID of the Organization. Organization ID has to be the identifier in treevox.
userOwnerId
Number
User Owener ID of the business. User Owener ID has to be the identifier in treevox.
userCreatorId
Number
User ID that created this contact. User ID has to be the identifier in treevox. If the User ID does not exist, an error will be returned.
{
"id": 1,
"title": "New Website Project",
"value": 15000,
"deadline": "2025-12-31T23:59:59.000Z",
"private": false,
"position": 1,
"dateWon": "2025-03-20T15:30:00.000Z",
"reasonLost": null,
"statusId": 2,
"organizationId": 45,
"currencyId": 1,
"userOwnerId": 12,
"userCreatorId": 8,
"boardId": 3,
"stageId": 7,
"createdAt": "2025-01-10T10:15:30.000Z",
"updatedAt": "2025-09-10T12:45:00.000Z"
}
Última actualización
¿Te fue útil?