Club affiliation status
/clubs/affiliation
GET
https://api.englandsquash.com/clubs/affiliation
Requires Level 1 access. Returns a club's affiliation status.
Query Parameters
ClubID
string
ID of the club to check affiliation status (exact match)
Headers
APIToken
string
API key required to authenticate your request
List of affiliation status codes and meanings:
1 = Active (holds a current and fully paid affiliation)
20 = Expiring soon (holds an active affiliation, but have a renewal invoice due within < 30 days)
30 = Overdue (their renewal invoice has not been paid, but they are within their ‘payment grace period’ which is typically 7 days. Their members will still show as having active membership within this period)
40 = Expired (no active affiliation. Renewal invoices outstanding and expiry date is more than 7 days in the past)
50 = Not Affiliating (club has been marked as no longer affiliating. Invoices are not raised for this club)
Last updated