DELETE taxclasses/{taxClassId}/taxratecountries/{taxRateCountryId}
Deletes a Country specific tax rate
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| taxClassId | The ID of the Tax Class | integer | Required |
| taxRateCountryId | The ID of the Tax Rate override | integer | Required |
Body Parameters
None.
Response Information
Resource Description
Deletes a Country specific tax rate
TaxRateCountryResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | An indicator of the success of a create, update or delete | boolean | None. |
| Error | In the event of a failure, a description of the problem | string | None. |
| TaxRateCountryID | The ID of the country specific tax rate | integer | None. |
| CountryName | The name of the country that the tax rate applies to | string | None. |
| ISOCountryCodeTwoLetter | The two letter ISO code | string | None. |
| TaxRate | The tax rate | decimal number | None. |
Response Formats
application/json, text/json
Sample:
{
"Success": false,
"Error": "Something went wrong",
"TaxRateCountryID": 1,
"CountryName": "BARBADOS",
"ISOCountryCodeTwoLetter": "BB",
"TaxRate": 21.0
}
application/xml, text/xml
Sample:
<TaxRateCountryResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TaxRateCountryID>1</TaxRateCountryID> <CountryName>BARBADOS</CountryName> <ISOCountryCodeTwoLetter>BB</ISOCountryCodeTwoLetter> <TaxRate>21</TaxRate> <Success>false</Success> <Error>Something went wrong</Error> </TaxRateCountryResponse>