dambel

دمبل

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

API Docs / training / services / training service resource



Training Service Resource

Represents a training service offered by a user.


Schema

FieldTypeDescription
idintegerTraining service ID
user_idintegerUser ID who offers the service
titlestringTitle of the training service
descriptionstringDescription
priceintegerPrice of the training service
discountfloatDiscount percentage
discounted_priceintegerPrice after discount
mediaarrayList of Media Resource
rating_countintegerNumber of ratings
rating_averagefloatAverage rating
boostobject/nullMarketing Boost Resource

Example

{
  "id": 123,
  "user_id": 123,
  "title": "...",
  "description": "...",
  "price": 123,
  "discount": 0,
  "discounted_price": 123,
  "media": [<media resource>, ...],
  "rating_count": 123,
  "rating_average": 4.5,
  "boost": null
}

footer wave
logo

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

LinkedinInstagramXYoutube