Update a location’s properties.
cURL
curl --request PATCH \ --url https://api.selcor.ai/v1/workspaces/{workspaceId}/locations/{locationId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "timezone": "<string>", "phone_number": "<string>", "address": "<string>", "website_url": "<string>", "activated": true, "booking_enabled": true, "provider_selection_mode": "REQUIRED" } '
{ "data": { "id": "<string>", "workspace_id": "<string>", "name": "<string>", "timezone": "<string>", "phone_number": "<string>", "address": "<string>", "website_url": "<string>", "activated": true, "booking_enabled": true, "provider_selection_mode": "<string>", "agent_setup_status": "<string>", "voice_agent_id": "<string>", "created_at": "<string>", "updated_at": "<string>" }, "request_id": "<string>" }
API key in format: sk_live_...
1 - 200
REQUIRED
OPTIONAL
NONE
Updated location
Show child attributes
Was this page helpful?