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