Update course
Path parameters
-
ID
integer Required Resource ID
Body
Required
-
registration_type
string -
course_type
string -
description
string -
url
string -
name
string -
custom_label_note
string -
custom_label_first_name
string -
custom_label_last_name
string -
custom_label_phone
string -
custom_label_email
string -
collect_feedback_start
string(date-time) -
waitlist
string -
late_registrations
string -
online_card_provider
string -
online_transfer_provider
string -
online_registration
boolean -
auto_waitlist_notification
boolean -
hide_if_full
boolean -
use_extra_fields
boolean -
feedback_during_course
boolean -
feedback_after_course
boolean -
cash
boolean -
online_card
boolean -
online_transfer
boolean -
fees_included_in_price
boolean -
public
boolean -
archive
boolean -
for_children
boolean -
allow_guest_registration
boolean -
payments_managed_by_buyer
boolean -
allow_reschedule_of_replacements
boolean -
flexible_replacements_limit
boolean -
replacements_limit_per_events
integer -
payment_schedule_is_mandatory
boolean -
allow_replacements
boolean -
allow_replacements_waitlist
boolean -
allow_custom_replacements
boolean -
custom_email
integer Custom registration confirmation email ID
-
custom_email_event_notification
integer Custom event notification email ID
-
allow_replacement_cancellation
boolean -
auto_approve_custom_replacements
boolean -
upcoming_events_notification
boolean -
event_notfication
boolean -
replacements_settings
object -
hide_before
integer -
replacements_limit
integer -
price
integer(float) -
registration_fee
integer(float) -
iban
string -
color
string -
swift
string -
registration_slots_max
integer -
registration_slots_min
integer -
get_basic_fields_from
string Values are
registrant
orall
. -
get_extra_fields_from
string Values are
all
orother
. -
extra_fields
array[object]
PUT
/courses/{ID}
curl \
--request PUT 'https://api.zooza.app/v1/courses/{ID}' \
--header "Content-Type: application/json" \
--data '{"registration_type":"string","course_type":"string","description":"string","url":"string","name":"string","custom_label_note":"string","custom_label_first_name":"string","custom_label_last_name":"string","custom_label_phone":"string","custom_label_email":"string","collect_feedback_start":"2025-05-04T09:42:00Z","waitlist":"string","late_registrations":"string","online_card_provider":"string","online_transfer_provider":"string","online_registration":true,"auto_waitlist_notification":true,"hide_if_full":true,"use_extra_fields":true,"feedback_during_course":true,"feedback_after_course":true,"cash":true,"online_card":true,"online_transfer":true,"fees_included_in_price":true,"public":true,"archive":true,"for_children":true,"allow_guest_registration":true,"payments_managed_by_buyer":true,"allow_reschedule_of_replacements":true,"flexible_replacements_limit":true,"replacements_limit_per_events":42,"allow_replacements_from_other_companies":true,"payment_schedule_is_mandatory":true,"allow_replacements":true,"allow_replacements_waitlist":true,"allow_custom_replacements":true,"custom_email":42,"custom_email_event_notification":42,"allow_replacement_cancellation":true,"allow_using_replacement_credits_as_discount":true,"auto_approve_custom_replacements":true,"upcoming_events_notification":true,"event_notfication":true,"replacements_settings":{},"replacements_settings_other_companies":{},"hide_before":42,"replacements_limit":42,"price":42,"registration_fee":42,"iban":"string","color":"string","swift":"string","registration_slots_max":42,"registration_slots_min":42,"get_basic_fields_from":"registrant","get_extra_fields_from":"all","extra_fields":[{"id":42,"active":true,"custom_label":"string","field_options":{},"course_id":42,"field_id":42}]}'
Request examples
{
"registration_type": "string",
"course_type": "string",
"description": "string",
"url": "string",
"name": "string",
"custom_label_note": "string",
"custom_label_first_name": "string",
"custom_label_last_name": "string",
"custom_label_phone": "string",
"custom_label_email": "string",
"collect_feedback_start": "2025-05-04T09:42:00Z",
"waitlist": "string",
"late_registrations": "string",
"online_card_provider": "string",
"online_transfer_provider": "string",
"online_registration": true,
"auto_waitlist_notification": true,
"hide_if_full": true,
"use_extra_fields": true,
"feedback_during_course": true,
"feedback_after_course": true,
"cash": true,
"online_card": true,
"online_transfer": true,
"fees_included_in_price": true,
"public": true,
"archive": true,
"for_children": true,
"allow_guest_registration": true,
"payments_managed_by_buyer": true,
"allow_reschedule_of_replacements": true,
"flexible_replacements_limit": true,
"replacements_limit_per_events": 42,
"allow_replacements_from_other_companies": true,
"payment_schedule_is_mandatory": true,
"allow_replacements": true,
"allow_replacements_waitlist": true,
"allow_custom_replacements": true,
"custom_email": 42,
"custom_email_event_notification": 42,
"allow_replacement_cancellation": true,
"allow_using_replacement_credits_as_discount": true,
"auto_approve_custom_replacements": true,
"upcoming_events_notification": true,
"event_notfication": true,
"replacements_settings": {},
"replacements_settings_other_companies": {},
"hide_before": 42,
"replacements_limit": 42,
"price": 42,
"registration_fee": 42,
"iban": "string",
"color": "string",
"swift": "string",
"registration_slots_max": 42,
"registration_slots_min": 42,
"get_basic_fields_from": "registrant",
"get_extra_fields_from": "all",
"extra_fields": [
{
"id": 42,
"active": true,
"custom_label": "string",
"field_options": {},
"course_id": 42,
"field_id": 42
}
]
}
Response examples (200)
{
"company_id": "string",
"id": 42,
"registration_slots_min": 42,
"registration_slots_max": 42,
"registration_open": true,
"show_on_site": true,
"allow_cancel_until": 42,
"replacements_limit": 42,
"custom_email": 42,
"custom_email_event_notification": 42,
"hide_before": 42,
"replacements_limit_per_events": 42,
"cash": true,
"online_card": true,
"online_transfer": true,
"fees_included_in_price": true,
"public": true,
"archive": true,
"online_registration": true,
"on_behalf": true,
"feedback_during_course": true,
"feedback_after_course": true,
"hide_if_full": true,
"allow_replacements": true,
"allow_custom_replacements": true,
"auto_approve_custom_replacements": true,
"allow_replacements_waitlist": true,
"auto_waitlist_notification": true,
"use_extra_fields": true,
"for_children": true,
"event_notfication": true,
"allow_registration_after_end": true,
"allow_replacement_cancellation": true,
"upcoming_events_notification": true,
"allow_guest_registration": true,
"allow_replacements_from_other_companies": true,
"payment_schedule_is_mandatory": true,
"allow_using_replacement_credits_as_discount": true,
"flexible_replacements_limit": true,
"allow_reschedule_of_replacements": true,
"payments_managed_by_buyer": true,
"online_card_provider": "tatra_banka",
"online_transfer_provider": "besteron",
"created": "2025-05-04T09:42:00Z",
"name": "string",
"url": "string",
"get_extra_fields_from": "all",
"get_basic_fields_from": "all",
"registration_type": "full2",
"course_type": "course",
"waitlist": "any",
"description": "string",
"theme": "string",
"late_registrations": "confirmation_required",
"custom_label_note": "string",
"custom_label_first_name": "string",
"custom_label_last_name": "string",
"custom_label_phone": "string",
"custom_label_email": "string",
"collect_feedback_start": "2025-05-04T09:42:00Z",
"iban": "string",
"swift": "string",
"color": "string",
"price": 42.0,
"registration_fee": 42.0,
"__calc__fee_cash": 42.0,
"__calc__fee_online_card": 42.0,
"__calc__fee_online_transfer": 42.0,
"replacements_settings": {
"courses": [],
"billing_periods": [],
"places": []
},
"replacements_settings_other_companies": {
"companies": [],
"billing_periods": [],
"places": [],
"schedules": []
},
"extra_fields": [
{
"id": 42,
"field_order": 42,
"course_id": 42,
"column_name": "dob",
"name": "string",
"description": "string",
"custom_label": "string",
"active": true,
"field_options": {
"age_limit_type": "none",
"age_limit_units": "years",
"age_limit_min": 42,
"age_limit_max": 42,
"age_limit_use": "both"
}
}
],
"feedback_questions": [
{
"course_id": 42,
"company_id": 42,
"question_id": 42,
"question_active_during": true,
"question_active_after": true,
"is_mandatory": true,
"name": "string",
"type": "string"
}
]
}