Tax Rates
Endpoints
- List
- Create
- View
- Update
- Delete
List
URL: /api/json/tax-rates/
Method: GET
Arguments (optional)
![taxlistargs.jpeg 369](https://files.readme.io/a948d0d-taxlistargs.jpeg)
cURL
curl https://mobile.quickswipe.com/api/json/tax-rates/?token=516c579c-bdf8-4a6a-a5e4- 46030abbf85e
Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
![taxlistresp.jpeg 354](https://files.readme.io/433bd47-taxlistresp.jpeg)
Create
URL: /api/json/tax-rates/
Method: POST
Arguments
![taxcreateargs.jpeg 242](https://files.readme.io/ebb27c9-taxcreateargs.jpeg)
cURL
curl https://mobile.quickswipe.com/api/json/tax-rates/?token=516c579c-bdf8-4a6a-a5e4- 46030abbf85e \\ \-d "name=State Tax" \\ \-d "amount=7.25" \\
Response
HTTP/1.1 201 Created
Content-Type: application/json; charset=UTF-8
Location: /api/json/tax-rates/1/
![taxcreateresp.jpeg 325](https://files.readme.io/b19b0cb-taxcreateresp.jpeg)
View
URL: /api/json/tax-rates/1/
Method: GET
cURL
curl https://mobile.quickswipe.com/api/json/tax-rates/1/?token=516c579c-bdf8-4a6a-a5e4- 46030abbf85e
Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
![taxcreateresp.jpeg 325](https://files.readme.io/853e3f3-taxcreateresp.jpeg)
Update
URL: /api/json/tax-rates/1/
Method: POST
Arguments
![taxupdateargs.jpeg 144](https://files.readme.io/018ec37-taxupdateargs.jpeg)
cURL
curl https://mobile.quickswipe.com/api/json/tax-rates/1/?token=516c579c-bdf8-4a6a-a5e4- 46030abbf85e \\ \-d "name=State Tax" \\ \-d "amount=6.25"
Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
![taxcreateresp.jpeg 325](https://files.readme.io/64f60b1-taxcreateresp.jpeg)
Delete
URL: /api/json/tax-rates/1/
Method: DELETE
cURL
curl https://mobile.quickswipe.com/api/json/tax-rates/1/?token=516c579c-bdf8-4a6a-a5e4- 46030abbf85e \\ -X DELETE
Response
HTTP/1.1 204 No Content
Updated almost 3 years ago