Order Endpoints
Order endpoints allow you to create orders.
POST/order/create
Order Object
| Property Name | Type |
|---|---|
| id | integer |
| reference | string |
| date_limit | date |
| enterprise_id | integer |
| user_id | integer |
| who_created | integer |
| extra_fields | array |
| state | object ( State ) |
| states | array ( State ) |
EXAMPLE
{
"close_date": "2025-01-01T00:00:00",
"enterprise_id": 23443,
"user_id": 30,
"name": "Contact Test_12-03-2025_9",
"who_created": 30,
"id": 11638,
"state": {
"id": 26614,
"state": 1,
"amount": "1000.00",
"comment": null,
"name": "Stop - 0%"
},
"amount": "1000.00",
"states": [
{
"id": 26614,
"state": 1,
"amount": "1000.00",
"comment": null,
"name": "Stop - 0%"
}
]
}State Object
| Property Name | Type |
|---|---|
| state | required integer. You can find the state id here (opens in a new tab) |
| comment | string |
EXAMPLE
{
"state": 1,
"comment": null,
}