Get All Brands
Response
boolean
required
Indicates if the request was successful
array
required
Get Brand by ID
Path Parameters
number
required
The unique identifier of the brand
Response
boolean
required
Indicates if the request was successful
Error Responses
Create Brand
Authentication
Note: This endpoint requires appropriate permissions to create brands.Request Body
This endpoint acceptsmultipart/form-data for file uploads.
string
required
Name of the brand
file
Brand logo image file (optional)Accepted formats: Common image formats (JPG, PNG, etc.)
Response
boolean
required
Indicates if the request was successful
Error Responses
Delete Brand
Authentication
Note: This endpoint requires appropriate permissions to delete brands.Path Parameters
number
required
The unique identifier of the brand to delete
Response
boolean
required
Indicates if the request was successful
string
Success message
string
Error message if deletion failed (e.g., brand has associated products)