Create a business
Creates a new business object.
Create a business
POST
https://api.treevox.com/v1/business
Creates a new business object.
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?