TaxRates
Get tax rate
Path parameters
rateIdstringRequiredExample:
(Required)
<integer>
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
GET /V1/taxRates/{rateId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
{
"tax_country_id": "<string>",
"rate": "<number>",
"code": "<string>",
"id": "<integer>",
"tax_region_id": "<integer>",
"region_name": "<string>",
"tax_postcode": "<string>",
"zip_is_range": "<integer>",
"zip_from": "<integer>",
"zip_to": "<integer>",
"titles": [
{
"store_id": "<string>",
"value": "<string>",
"extension_attributes": "<object>"
},
{
"store_id": "<string>",
"value": "<string>",
"extension_attributes": "<object>"
}
],
"extension_attributes": "<object>"
}
Delete tax rate
Path parameters
rateIdstringRequiredExample:
(Required)
<integer>
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
delete
DELETE /V1/taxRates/{rateId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
true
Create or update tax rate
Header parameters
Content-TypestringOptionalExample:
application/json
Body
objectOptionalExample:
{"taxRate":{"tax_country_id":"<string>","rate":"<number>","code":"<string>","id":"<integer>","tax_region_id":"<integer>","region_name":"<string>","tax_postcode":"<string>","zip_is_range":"<integer>","zip_from":"<integer>","zip_to":"<integer>","titles":[{"store_id":"<string>","value":"<string>","extension_attributes":"<object>"},{"store_id":"<string>","value":"<string>","extension_attributes":"<object>"}],"extension_attributes":"<object>"}}
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
POST /V1/taxRates HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 443
{
"taxRate": {
"tax_country_id": "<string>",
"rate": "<number>",
"code": "<string>",
"id": "<integer>",
"tax_region_id": "<integer>",
"region_name": "<string>",
"tax_postcode": "<string>",
"zip_is_range": "<integer>",
"zip_from": "<integer>",
"zip_to": "<integer>",
"titles": [
{
"store_id": "<string>",
"value": "<string>",
"extension_attributes": "<object>"
},
{
"store_id": "<string>",
"value": "<string>",
"extension_attributes": "<object>"
}
],
"extension_attributes": "<object>"
}
}
{
"tax_country_id": "<string>",
"rate": "<number>",
"code": "<string>",
"id": "<integer>",
"tax_region_id": "<integer>",
"region_name": "<string>",
"tax_postcode": "<string>",
"zip_is_range": "<integer>",
"zip_from": "<integer>",
"zip_to": "<integer>",
"titles": [
{
"store_id": "<string>",
"value": "<string>",
"extension_attributes": "<object>"
},
{
"store_id": "<string>",
"value": "<string>",
"extension_attributes": "<object>"
}
],
"extension_attributes": "<object>"
}
Create or update tax rate
Header parameters
Content-TypestringOptionalExample:
application/json
Body
objectOptionalExample:
{"taxRate":{"tax_country_id":"<string>","rate":"<number>","code":"<string>","id":"<integer>","tax_region_id":"<integer>","region_name":"<string>","tax_postcode":"<string>","zip_is_range":"<integer>","zip_from":"<integer>","zip_to":"<integer>","titles":[{"store_id":"<string>","value":"<string>","extension_attributes":"<object>"},{"store_id":"<string>","value":"<string>","extension_attributes":"<object>"}],"extension_attributes":"<object>"}}
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
PUT /V1/taxRates HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 443
{
"taxRate": {
"tax_country_id": "<string>",
"rate": "<number>",
"code": "<string>",
"id": "<integer>",
"tax_region_id": "<integer>",
"region_name": "<string>",
"tax_postcode": "<string>",
"zip_is_range": "<integer>",
"zip_from": "<integer>",
"zip_to": "<integer>",
"titles": [
{
"store_id": "<string>",
"value": "<string>",
"extension_attributes": "<object>"
},
{
"store_id": "<string>",
"value": "<string>",
"extension_attributes": "<object>"
}
],
"extension_attributes": "<object>"
}
}
{
"tax_country_id": "<string>",
"rate": "<number>",
"code": "<string>",
"id": "<integer>",
"tax_region_id": "<integer>",
"region_name": "<string>",
"tax_postcode": "<string>",
"zip_is_range": "<integer>",
"zip_from": "<integer>",
"zip_to": "<integer>",
"titles": [
{
"store_id": "<string>",
"value": "<string>",
"extension_attributes": "<object>"
},
{
"store_id": "<string>",
"value": "<string>",
"extension_attributes": "<object>"
}
],
"extension_attributes": "<object>"
}