Taxes

get
Fetching Shop Tax Rates

https://shop.yordadev.network/v1/taxes
This endpoint allows you to fetch all of your shops tax rates.
Request
Response
Request
Headers
Authorization
required
string
Your Personal Access Token
Query Parameters
shop_id
required
string
The shop_id to which the shop desired
tax_id
optional
string
A specific tax_id to which be fetched
Response
200: OK

post
Creating a Tax Rate

https://shop.yordadev.network/v1/taxes
This endpoint allows you to create a tax rate.
Request
Response
Request
Headers
Authorization
required
string
Your Personal Access Token
Query Parameters
shop_id
required
string
title
required
string
jurisdiction
required
string
description
required
string
rate
required
number
Response
200: OK

put
Updating a Shop Tax Rate

https://shop.yordadev.network/v1/taxes
This endpoint allows you to update an existing tax rate.
Request
Response
Request
Headers
Authorization
required
string
Your Personal Access Token
Query Parameters
shop_id
optional
string
shop_id
required
string
title
required
string
jurisdiction
required
string
description
required
string
rate
required
string
Response
200: OK

delete
Destroying a Shop Tax Rate

https://shop.yordadev.network/v1/taxes
This endpoint allows you to destroy a tax rate.
Request
Response
Request
Headers
Authorization
optional
string
Your Personal Access Token
Query Parameters
shop_id
required
string
The shop to which the tax_id belongs to
tax_id
required
string
The tax_id to be destroyed
Response
200: OK