Registrations
Query parameters
-
advanced_search integer
-
schedule_id string
-
course_id integer
-
place_id integer
-
room_id integer
-
trainer_id integer
-
billing_period_id integer
-
billing_status string
Values are
paid
,unpaid
,partially_paid
, oroverpaid
. -
user string
-
user_id integer
-
email string(email)
-
registration_id integer
-
exclude string
Exclude certain registrations from results
-
exclude_user string
Exclude certain users from results
-
order_id integer
Search registrations by related order id
-
parent integer
Show related / linked orders by their parent
-
distinct boolean
Return only distinct users (one registration per user)
-
payment_id integer
Find registration related to payment
-
inactive_customers boolean
Show registrations for inactive customers
Default value is
false
. -
marketing_messages boolean
Return registrations that belong to users which have enabled marketing messages
Default value is
false
. -
ef_full_name string
-
page integer
-
page_size integer
Default value is
20
. -
status string
Values are
registered
,deleted
,late
,waitlist
,quest
, orcanceled
. -
created_from string(date)
-
created_to string(date)
-
schedule_groups string
-
schedule_query string
Filter registration based on a Query of schedules - Use JSON.stringify() to pass query as string
GET
/registrations
curl \
-X GET https://api.zooza.app/v1/registrations
Response examples (200)
{
"total": 42,
"page": 42,
"results": [
{
"registration_id": 42,
"note": "string",
"created": "2024-05-04T09:42:00+00:00",
"updated": "2024-05-04T09:42:00+00:00",
"course_id": 42,
"schedule_id": 42,
"company_note": "string",
"billing_period_id": 42,
"paid": 42,
"payment_method": "string",
"status": "string",
"user_id": 42,
"first_name": "string",
"last_name": "string",
"email": "string",
"phone": "string",
"full_name": "string",
"payment_balance": 42,
"payment_debt": 42,
"payment_paid": 42,
"__calc__paid": 42,
"__calc__course_payment": 42,
"__calc__registration_fee": 42,
"payment_status": "string",
"internal_note": "string",
"ef_full_name": "string",
"ef_dob": "string",
"ef_address": "string",
"ef_business_name": "string",
"ef_business_address": "string",
"ef_business_id": "string",
"ef_tax_id": "string",
"ef_vat": "string",
"ef_extra_field_1": "string",
"ef_extra_field_2": "string",
"ef_extra_field_3": "string",
"ef_extra_field_4": "string",
"ef_extra_field_5": "string",
"role": "string",
"first_event": "2024-05-04T09:42:00+00:00",
"events_attended": 42,
"registrations_count": 42,
"total_events": 42
}
]
}