Update event
Path parameters
-
ID
integer Required Resource ID
Body
-
notify
boolean Notify attendees about changes in the event
-
event_name
string -
duration
integer -
status
string Values are
unplanned
orscheduled
. -
trainer_id
integer Trainer_ID is a synonym to User_ID
-
room_id
integer -
place_id
integer -
trainer_rate_type_id
integer -
date
string(date-time) -
attendance
string not used
-
video_expires_in
string -
video_expiry
string -
schedule_id
integer -
additional_trainers
array[object]
PUT
/events/{ID}
curl \
--request PUT 'https://api.zooza.app/v1/events/{ID}' \
--header "Content-Type: application/json" \
--data '{"notify":true,"event_name":"string","duration":42,"status":"unplanned","trainer_id":42,"room_id":42,"place_id":42,"trainer_rate_type_id":42,"date":"2025-05-04T09:42:00Z","attendance":"string","video_expires_in":"string","video_expiry":"string","schedule_id":42,"additional_trainers":[{"trainer_id":42,"is_active":true}]}'
Request examples
{
"notify": true,
"event_name": "string",
"duration": 42,
"status": "unplanned",
"trainer_id": 42,
"room_id": 42,
"place_id": 42,
"trainer_rate_type_id": 42,
"date": "2025-05-04T09:42:00Z",
"attendance": "string",
"video_expires_in": "string",
"video_expiry": "string",
"schedule_id": 42,
"additional_trainers": [
{
"trainer_id": 42,
"is_active": true
}
]
}
Response examples (200)
{
"id": 42,
"name": "string",
"status": "scheduled",
"date": "2025-05-04T09:42:00Z",
"happened": true,
"live_stream": 42,
"has_live_stream": true,
"replacement": true,
"end": "2025-05-04T09:42:00Z",
"duration": 42,
"cancellation_limit": "2025-05-04T09:42:00Z",
"can_cancel": true,
"has_video": true,
"has_files": true,
"places": {},
"courses": {},
"trainers": {},
"additional_trainers": [
{
"role": "string",
"full_name": "string"
}
]
}