Replace a resource working pattern and exceptions.
Replace a resource working pattern and exceptions.
PUT
https://app.softsolz.uk/api/v1/services/appointments/resources/{id}/scheduleRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Path Params
idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Idempotency-KeystringOptional idempotency key for safe retries.
Body Params
timezonestringIANA timezone, for example Europe/London.
entriesarray of objectsrequiredWeekly windows and date exceptions. Each item: { kind, weekday, date_from, date_to, start_time, end_time, reason }.
Response
Response Body
timezonestringIANA timezone, for example Europe/London.entriesarray of objectsWeekly windows and date exceptions.Request
curl --request PUT \ --url https://app.softsolz.uk/api/v1/services/appointments/resources/{id}/schedule \ --header 'Authorization: Bearer sk_live_your_key' \ --header 'Content-Type: application/json' \ --data '{ "timezone": "Europe/London", "entries": [ { "kind": "weekly", "weekday": 1, "start_time": "09:00", "end_time": "17:00" } ]}'Credentials
Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.
Response · 200
{ "data": { "timezone": "your-timezone", "entries": [ {} ] }}