Login | Sign Up
  • FA
  • EN

API Docs

POST /api/v1/admin/supplements

Create a new supplement.


Permissions

PermissionDescription
supplements.view_allAccess supplements
supplements.createCreate supplement

Request Body Parameters

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

Response

200 OK

{
  "data": { /* supplement resource */ }
}

Error Responses

StatusDescriptionReference
422Validation errorValidation error
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error

footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub