Status
Update Status
Instance
Billable Item
Booking
Calendar Subscription
Invoice
Quote
Invoice Template
Project
Time Activity
Status
Update Status
WRITE
access to the ADMIN
module is required to access this endpointPUT
/
v2
/
status
curl --request PUT \
--url https://api.sonderplan.com/v2/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Confirmed",
"description": "The confirmed status",
"type_id": 1,
"notification": true,
"order": 3,
"color_background": "#B0A7F1",
"color_text": "#000000"
}'
{
"success": {
"id": 2384
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The ID of the status you wish to update
Body
application/json
Status model
Response
200
application/json
Successful Operation
The response is of type object
.
curl --request PUT \
--url https://api.sonderplan.com/v2/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Confirmed",
"description": "The confirmed status",
"type_id": 1,
"notification": true,
"order": 3,
"color_background": "#B0A7F1",
"color_text": "#000000"
}'
{
"success": {
"id": 2384
}
}