dambel

دمبل

shevron
ورود | ثبت نام

API Docs / gyms / subscriptions / gym subscription



Gym Subscription Resource

Represents a user's subscription to a gym plan, including expiration, available sessions, and check-ins.


Schema

FieldTypeDescriptionExample
idintUnique identifier for the subscription123
user_idintID of the user789
gym_planobjectGym plan resource object{ ... }
expires_atstringExpiration date (YYYY-MM-DD)"2025-01-01"
available_sessions_countintNumber of available sessions16
checkinsarrayList of check-in resources[ { ... }, ... ]

Example

{
  "id": 123,
  "user_id": 789,
  "gym_plan": { /* gym plan resource */ },
  "expires_at": "2025-01-01",
  "available_sessions_count": 16,
  "checkins": [ { /* gym subscription checkin resource */ } ]
}

For schemas, see Gym Plan Resource and Gym Subscription Check-in Resource.

footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube