Login | Sign Up
  • FA
  • EN

API Docs

PUT /api/v1/admin/brands/{brand-id}

Update an existing brand.


Permissions

PermissionDescription
brands.view_allAccess brands
brands.updateUpdate a brand

Request Body Parameters

NameTypeRequiredDescription
titlestringNoName of the brand (max 255)
linkstringNoWebsite link (max 255, optional)
descriptionstringNoDescription (optional)

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


Response

200 OK

Returns the updated brand resource.

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

See Brand Resource.


Error Responses

StatusDescriptionReference
422Validation errorValidation error
401UnauthorizedAuthentication error
403ForbiddenPermission error
footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub