Skip to content

Create Brand

Create a new product brand.

Endpoint

POST /v1/products/brand/

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)

{
  "id": 1,
  "name": "Brand Name",
  "image": "https://...",
  "created": "2025-01-15T10:30:00Z"
}

Error Responses

Validation Error (400)

{
  "message": "Param not send!"
}

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