dambel

دمبل

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

API Docs / admin / supplements / update



PUT /api/v1/admin/supplements/{supplement-id}

Update an existing supplement.


Permissions

PermissionDescription
supplements.view_allAccess supplements
supplements.updateUpdate supplement

Request Body Parameters

NameTypeRequiredDescription
titlestringNoName of the supplement (max 255)
linkstringNoWiki link (max 255, optional)
descriptionstringNoDescription (optional)

All parameters are optional. If omitted, they will not be updated.


Response

200 OK

{
  "supplement": {<supplement resource>}
}

Error Responses


footer wave
logo

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

LinkedinInstagramXYoutube