Create Brand
Create a new product brand.
Endpoint
Authentication
Required (Store role)
Request Body
Content-Type: multipart/form-data
Form Fields
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | Yes | Brand name |
image |
file | No | Brand logo/image |
Response
Success (200 OK)
Error Responses
Validation Error (400)
Example Request
curl -X POST "https://api.luxmart.site/v1/products/brand/" \
-H "Authorization: Token your_access_token" \
-F "name=Brand Name" \
-F "image=@/path/to/logo.jpg"
Notes
- Brand image is uploaded to S3
- Brand name is required