Ecommerce Taxes API
Create, Retrieve, Update and Delete Ecommerce Taxes via the public API endpoint using "where" filtering.
GET
Ecommerce Taxes List
Retrieves a list of Taxes as a JSON response based on your provided query parameters.
/api/v2/admin/taxes
Data / Response:
{
"Where" : {},
"Order_By" : "Id",
"Offset" : 0,
"Limit" : 100,
}
{
"Items": [
{
"Id": 0,
"TaxCode": "string",
"Country": "string",
"Rate": 0
}
],
"TotalItemsCount": 0
}
POST
Ecommerce Tax Create
Creates a new Tax item based on the provided data.
/api/v2/admin/taxes
Data / Response:
{
"TaxCode": "string",
"Country": "string",
"Rate": 0
}
{
"Id": 0,
"TaxCode": "string",
"Country": "string",
"Rate": 0
}
GET
Ecommerce Tax Item
Retrieves a single Tax item based on the ID passed in the endpoint URL.
/api/v2/admin/taxes/{id}
Data / Response:
N/A
{
"Id": 0,
"TaxCode": "string",
"Country": "string",
"Rate": 0
}
PUT
Ecommerce Tax Update
Updates a single Tax item based on the ID passed in the endpoint URL and data provided.
/api/v2/admin/taxes/{id}
Data / Response:
{
"TaxCode": "string",
"Country": "string",
"Rate": 0
}
{
"Id": 0,
"TaxCode": "string",
"Country": "string",
"Rate": 0
}
DELETE
Ecommerce Tax Delete
Deletes a single Tax item based on the ID passed in the endpoint URL.
/api/v2/admin/taxes/{id}
Data / Response:
N/A
Status 204