Create a new deal
POST
/1.0/deal/Creates a new deal with the provided details. This operation involves registering the deal and creating related deal stages.
Request
Body Params application/json
No schema defined
Example
{
"partner_id": "unique-ID-of-deal",
"contractor_email": "user@example.com",
"name": "Deal name",
"description": "Deal description",
"budget": "1000.00",
"currency": "EUR",
"work_days": 30,
"sub_category_id": 75
}
Request samples
Responses
Returns the newly created deal's ID and associated stage IDs.(201)
Invalid input parameters or validation errors.(400)
Indicates that the deal already exists.(409)
Returns the newly created deal's ID and associated stage IDs.
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 6 months ago