Skip to content
On this page

Create Brand ​

Create a new brand in your store.

Endpoint ​

POST /api/brands/create

Request Body ​

FieldTypeRequiredDescription
storeIdstringYesStore ID
namestringYesBrand name
slugstringYesUnique slug
imageSrcstringNoImage URL
descriptionstringNoBrand 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",
    ...
  }
}

Released under the MIT License.