Skip to content

Delete Brand

Soft delete a product brand.

Endpoint

DELETE /v1/products/brand/?id={brand_id}

Authentication

Required (Store role)

Query Parameters

Parameter Type Required Description
id integer Yes Brand ID

Response

Success (200 OK)

{
  "success": "Deleted Brand"
}

Error Responses

Brand Not Found (404)

{
  "error": "Brand not found"
}

Missing ID Parameter (400)

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

Example Request

curl -X DELETE "https://api.luxmart.site/v1/products/brand/?id=1" \
  -H "Authorization: Token your_access_token"

Notes

  • Performs a soft delete (sets is_deleted: true)
  • Deleted brands cannot be retrieved or used