Tax Rates
Through this service; You can view the tax rates of the categories.
category_id parameter should not be sent to display tax rates for all categories
GET
https://marketplace-stg.modanisa.com/api/marketplace/tax-rates
Parameter |
Explanation |
Data Type |
Compulsory |
page |
Information on which page to bring the tax rates |
integer |
Yes |
size |
Information on how many tax rates to be brought on a page |
integer |
Yes |
category_id |
Used to fetch tax rates for a particular category |
integer |
No |
Request (Row Body) :
{
"page": 1,
"size": 5,
"category_id": 1071
}
Request (Url Parameter):
/tax-rates?page=1&size=5&category_id=1071
Response:
{
"success": true,
"data": {
"taxRates": [
{
"category_id": 1071,
"category_name": "Başörtüsü",
"tax_rate": "20"
},
{
"category_id": 1071,
"category_name": "Başörtüsü",
"tax_rate": "10"
}
],
"pagination": {
"page": 1,
"total_page": 1,
"count": 2,
"limit": 5
}
},
"errors": null
}