Update a client status
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
PUT /api/v1/client-status/{clientStatus_uuid}
curl \
-X PUT https://api.plannrcrm.com/api/v1/client-status/clientStatus_uuid \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
-d '{"name":"Inactive","colour":"#FFFFFF"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Inactive",
"colour": "#FFFFFF"
}
Response examples (200)
{
"name": "On Hold",
"uuid": "c454d81b-efe9-431e-abe7-e0c091f80e35",
"colour": "#FFFFFF",
"created_at": "2024-11-20T13:24:01+00:00",
"updated_at": "2024-11-20T13:24:01+00:00"
}