dambel

دمبل

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

API Docs / gyms / plans / gym plan resource



Gym Plan Resource

Represents a subscription plan offered by a gym, including pricing, duration, and status.


Schema

FieldTypeDescriptionExample
idintUnique identifier for the plan123
gym_idintID of the gym123
titlestringTitle of the plan"Basic"
descriptionstringDescription of the plan"Some desc"
priceintPrice of the plan150000
discountfloatDiscount percentage0
discounted_priceintPrice after discount150000
duration_daysintNumber of days until expiration (nullable)30
sessions_countintNumber of sessions in the plan (nullable)20
is_activeboolWhether the plan is activetrue

Example

{
  "id": 123,
  "gym_id": 123,
  "title": "Basic",
  "description": "Some desc",
  "price": 150000,
  "discount": 0,
  "discounted_price": 150000,
  "duration_days": 30,
  "sessions_count": 20,
  "is_active": true
}
footer wave
logo

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

LinkedinInstagramXYoutube