Delete

Delete

Delete

Deletes a tax code from an account.

Request

Method
URL
DELETE

Path Parameters

Name
Required
Type
Description
accountUniqueId

Guid
The unique ID of the account.
itemUniqueId

Guid
The unique ID of the tax code.

Headers

Name
Required
Type
Description
APIKey

Guid
A valid API key with a scope of AccountLists

Remarks

If this tax code is currently referenced elsewhere on the account, the delete is rejected with a 409 conflict instead of being applied.

Response

Headers

None

Status Code

Code
Description
204 No Content
The tax code was deleted.
401 Unauthorized
The API key is missing, invalid, disabled, or does not have the correct scope.
403 Forbidden
The API key does not belong to this account, the account does not have the API keys feature enabled, or the key does not have the required scope.
404 Not Found
No tax code was found with that id for this account.
409 Conflict
The tax code is in use and referenced elsewhere on the account, so it cannot be deleted.

Body

None