Update a client status

PUT /api/v1/client-status/{clientStatus_uuid}
application/json

Body

  • name string

    The name of the status.

  • colour string

    The colour of the status.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • name string

      The name of the custom status.

    • colour string

      The colour of the custom status

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": "d4088b45-5c6b-4fe3-b542-73600fa209d2",
  "colour": "#FFFFFF",
  "created_at": "2024-10-16T11:10:14+01:00",
  "updated_at": "2024-10-16T11:10:14+01:00"
}