Skip to main content
PATCH
/
api
/
v1
/
accounts
/
{account_id}
/
appointment_services
/
{id}
Update appointment service
curl --request PATCH \
  --url https://connect.voxys.ai/api/v1/accounts/{account_id}/appointment_services/{id} \
  --header 'Content-Type: application/json' \
  --header 'api_access_token: <api-key>' \
  --data '
{
  "name": "<string>",
  "duration_minutes": 123,
  "default_price": 123,
  "color": "#3B82F6",
  "is_active": true
}
'
{
  "id": 123,
  "name": "<string>",
  "duration_minutes": 123,
  "default_price": 123,
  "color": "#3B82F6",
  "is_active": true,
  "created_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://developers.voxys.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

api_access_token
string
header
required

All API requests must include the api_access_token header with a valid agent or administrator token.

Body

application/json
name
string
required
duration_minutes
integer
required
default_price
number<float>
color
string
Example:

"#3B82F6"

is_active
boolean
default:true

Response

Service updated

id
integer
name
string
duration_minutes
integer
default_price
number<float>
color
string
Example:

"#3B82F6"

is_active
boolean
created_at
string<date-time>