List available tax categories

GET https://api.tamio.com/v2/taxes/tax-categories/list

Returns all available tax categories that can be used when creating or updating product tax rules with applies_to set to selected_categories.

Responses

200 Tax categories

Tax categories

physical array of string

Physical product category identifiers.

digital array of string

Digital product category identifiers.

services array of string

Service category identifiers.

billing_plans array of string

Billing plan category identifiers.

401 Missing or invalid API key
/taxes/tax-categories/list
1const response = await fetch("https://api.tamio.com/v2/taxes/tax-categories/list", {
2 headers: {
3 "Authorization": "Bearer YOUR_API_KEY",
4 "Accept": "application/json"
5 }
6});
7const data = await response.json();
Responses
{
  "physical": [],
  "digital": [],
  "services": [],
  "billing_plans": []
}