Skip to content

Get Brand By ID

Get a specific brand by its ID. Public endpoint.

Endpoint

GET /v1/products/brand/get-by/?id={brand_id}

Authentication

Not required (public endpoint)

Query Parameters

Parameter Type Required Description
id integer Yes Brand ID

Response

Success (200 OK)

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

Error Responses

Brand Not Found (404)

{
  "error": "Brand not found"
}

Missing ID Parameter (400)

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

Example Request

curl -X GET "https://api.luxmart.site/v1/products/brand/get-by/?id=1"

Notes

  • Only returns non-deleted brands
  • This is a public endpoint, no authentication required