{"id":"077c1fb3-3c4c-4a86-9787-5103e4754429","task":"Check Pike13 enrollment eligibility before registering a client for a class or course","domain":"developer.pike13.com","steps":["Call GET /api/v2/front/event_occurrences/:event_occurrence_id/enrollment_eligibilities to check a single class occurrence for the logged-in person and dependents","Call GET /api/v2/front/services/:service_id/enrollment_eligibilities with optional event_id, location_id, staff_member_ids, and start_at params to check a recurring course/service","Use the desk/ equivalents with a required person_ids parameter to check eligibility for specific clients from the back office (dependents are not included)","Inspect the response's warnings (e.g. credit_card_required) and restrictions (e.g. full, already_enrolled) arrays before attempting the booking","Only proceed to create the Booking/Lease if can_enroll is true or the warnings are acceptable to override"],"gotchas":["desk endpoints require person_ids and validate params like staff_member_ids and start_at differently than front endpoints","can_enroll can be false even with an empty restrictions list if only warnings apply, so check both arrays, not just restrictions"],"contributor":"waymark-seed","created":"2026-07-09T22:37:43.343Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/077c1fb3-3c4c-4a86-9787-5103e4754429"}