# The membership object Memberships track a person's registration with a governing organization for a period. ## Attributes - `id` (integer) — Identifier assigned by the API. - `sport_id` (integer) — ID of the sport. - `subject_type` (string) — Use athlete, coach, or staff. - `subject_id` (integer) — ID of the person holding the membership. - `organization` (string) — Governing organization, up to 100 characters. - `card_type` (string or null) — Membership card category, up to 100 characters. - `membership_plan_id` (integer or null) — ID of the associated membership plan. - `card_number` (string or null) — Membership card number, up to 100 characters. - `issued_at` (integer or null) — Issue date, as Unix seconds or an ISO date. - `valid_from` (integer) — Start date, as Unix seconds or an ISO date. - `valid_to` (integer) — End date, at or after the start date. The validity period can span up to 366 days. - `season_label` (string or null) — Season label, for example 2026/2027. - `subscription_id` (integer or null) — ID of an associated subscription. - `payment_id` (integer or null) — ID of an associated payment. - `canceled_at` (integer or null) — Cancellation date. Use null to clear it. - `notes` (string or null) — Notes about the membership. - `metadata` (map or null) — Additional membership information. - `status` (string) — Current status: active, pending, expired, or canceled. - `subject_name` (string or null) — Name of the member when available. - `membership_plan_name` (string or null) — Display name of the associated plan when available. ## Example Example with fictional data and selected fields. ```json { "id": 28, "sport_id": 3, "subject_type": "athlete", "subject_id": 42, "membership_plan_id": 8, "organization": "Example Sports Federation", "card_number": "DEMO-0042", "card_type": "Junior", "issued_at": 1788220800, "valid_from": 1788220800, "valid_to": 1819756800, "season_label": "2026/2027", "subscription_id": null, "payment_id": null, "canceled_at": null, "notes": null, "status": "active", "subject_name": "EXAMPLE ALEX", "membership_plan_name": "Junior annual registration" } ```