Get Currency By ID
Get a specific currency by its ID.
Endpoint
Authentication
Required
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
integer | Yes | Currency ID |
Response
Success (200 OK)
Error Responses
Currency Not Found (404)
Missing ID Parameter (400)
Example Request
curl -X GET "https://api.luxmart.site/v1/products/currency/get-by/?id=1" \
-H "Authorization: Token your_access_token"
Notes
- Only returns non-deleted currencies
valuerepresents the exchange rate relative to the base currency