Create Brand
Create a new brand in your store.
Endpoint
POST /api/brands/createRequest Body
| Field | Type | Required | Description |
|---|---|---|---|
| storeId | string | Yes | Store ID |
| name | string | Yes | Brand name |
| slug | string | Yes | Unique slug |
| imageSrc | string | No | Image URL |
| description | string | No | Brand description |
Example
json
{
"storeId": "store_id",
"name": "Brand Name",
"slug": "brand-name",
"imageSrc": "https://cdn.example.com/brand.png",
"description": "Brand description"
}Response
json
{
"status": "success",
"data": {
"_id": "string",
"name": "Brand Name",
...
}
}