Skip to content

Change Online Booking Date/Time

Request

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

record_idnumberrequired

ID of the appointment to be migrated

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token

Bodyapplication/jsonrequired
datetimestring, (date-time)

Date and time to which we want to move the appointment

Example:"2026-09-21T23:00:00.000-05:00"
commentstring

Appointment Comment

Example:"DODO!"
curl -i -X PUT \
  'https://developer.alteg.io/_mock/en/public/openapi/book_record/{location_id}/{record_id}' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "datetime": "2026-09-21T23:00:00.000-05:00",
    "comment": "DODO!"
  }'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataobject

Data (object)

Example:
{ "id": 30358, "services": [ {} ], "company": { "id": 4564, "title": "Business Example", "country_id": 0, "country": "United States", "city_id": 0, "city": "New York", "phone": "+13155550175", "timezone": "0", "address": "New York, 787 Jackson Drive", "coordinate_lat": 40.73061, "coordinate_lon": -73.935242 }, "staff": { "id": 924, "name": "Evgenia", "spec": "about eu", "show_rating": 1, "rating": 5, "votes_count": 1, "avatar": "https://app.alteg.io/images/no-master.png", "comments_count": 0 }, "date": "2026-09-21T23:00:00.000-05:00", "create_date": "2026-09-21T23:00:00.000-05:00", "comment": "", "deleted": true, "length": 3600, "notify_by_sms": 0, "notify_by_email": 0, "master_requested": false, "online": true, "api_id": 0 }
Response
{ "success": true, "data": { "id": 30358, "services": [], "company": {}, "staff": {}, "date": "2026-09-21T23:00:00.000-05:00", "create_date": "2026-09-21T23:00:00.000-05:00", "comment": "", "deleted": true, "length": 3600, "notify_by_sms": 0, "notify_by_email": 0, "master_requested": false, "online": true, "api_id": 0 } }