Delete Attribute
Soft delete a product attribute.
Endpoint
Authentication
Required (Store role)
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
integer | Yes | Attribute ID |
Response
Success (200 OK)
Error Responses
Attribute Not Found (404)
Missing ID Parameter (400)
Example Request
curl -X DELETE "https://api.luxmart.site/v1/products/attribute/?id=1" \
-H "Authorization: Token your_access_token"
Notes
- Performs a soft delete (sets
is_deleted: true) - Deleted attributes cannot be retrieved or used