Retrieve a tax rule

GET https://api.tamio.com/v2/taxes/retrieve/{uuid}

Returns detailed information about a single tax rule.

Path Parameters

uuid string*

UUID of the tax rule.

Responses

200 Tax rule details

Tax rule details

status integer
tax Tax
400 Validation or business-logic error
401 Missing or invalid API key
/taxes/retrieve/{uuid}
1const response = await fetch("https://api.tamio.com/v2/taxes/retrieve/{uuid}", {
2 headers: {
3 "Authorization": "Bearer YOUR_API_KEY",
4 "Accept": "application/json"
5 }
6});
7const data = await response.json();
Responses
{
  "status": 200,
  "tax": {
    "id": "string",
    "object": "tax",
    "rate": 0,
    "amount": 0,
    "label": "string",
    "active": false,
    "country": "string",
    "type": "product_tax",
    "applies_to": "string",
    "postcodes": [],
    "states": [],
    "payments": [],
    "categories": {},
    "products": []
  }
}