Medusa Tax Rates API

A tax rate is a percentage amount used to calculate the tax amount of each taxable item's price, such as line items or shipping methods. Each tax region has a default tax rate. You can create tax rates that override the default using tax rules. These API routes allow admin users to manage tax rates and their rules.

GitHub OpenAPI
Business capability
Indirect Tax Management BC-220.20

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /admin/tax-rates List tax rates · List Tax Rates #
Ask an LLM
“What tax rates are set up in my store?”
“Can I list only the default tax rates for a region?”
Tell an agent
List all tax rates.
List tax rates for region {tax_region_id}.
POST /admin/tax-rates Create a tax rate · Create Tax Rate #
Ask an LLM
“How do I add a new tax rate for a region?”
“Can a tax rate be set as the default for its region?”
Tell an agent
Create tax rate {name} with code {code} in region {tax_region_id}.
Add tax rate {name} ({code}) to region {tax_region_id} at {rate} percent.
GET /admin/tax-rates/{id} Get a tax rate · Get a Tax Rate #
Ask an LLM
“What rate and rules does a specific tax rate have?”
“Can I look up one tax rate by its ID?”
Tell an agent
Get tax rate {id}.
Show the rate and rules of tax rate {id}.
POST /admin/tax-rates/{id} Update a tax rate · Update a Tax Rate #
Ask an LLM
“How do I change the rate on an existing tax rate?”
“Can I make an existing tax rate the default for its region?”
Tell an agent
Set the rate of tax rate {id} to {rate}.
Rename tax rate {id} to {name}.
DELETE /admin/tax-rates/{id} Delete a tax rate · Delete a Tax Rate #
Ask an LLM
“How do I remove a tax rate I no longer charge?”
“Can I delete a tax rate by its ID?”
Tell an agent destructive · confirm first
Delete tax rate {id}.
Remove the tax rate {id} from my store.
POST /admin/tax-rates/{id}/rules Add a rule to a tax rate · Create Tax Rule for a Rate #
Ask an LLM
“How do I make a tax rate apply to a specific product?”
“Can I attach a tax rule to a rate by reference?”
Tell an agent
Add a rule to tax rate {id} for {reference} {reference_id}.
Make tax rate {id} apply to {reference} {reference_id}.
DELETE /admin/tax-rates/{id}/rules/{rule_id} Remove a rule from a tax rate · Remove Rule of Tax Rate #
Ask an LLM
“How do I stop a tax rate from applying to one product?”
“Can I remove a single rule from a tax rate?”
Tell an agent destructive · confirm first
Remove rule {rule_id} from tax rate {id}.
Stop tax rate {id} from applying to {rule_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/medusa:medusa-tax-rates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

medusa-tax-rates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.19.0
  title: Medusa Admin Tax Rates API
  license:
    name: MIT
    url: https://github.com/medusajs/medusa/blob/develop/LICENSE
  description: 'A tax rate is a percentage amount used to calculate the tax amount of each taxable item''s price, such as line items or shipping methods.


    Each tax region has a default tax rate. You can create tax rates that override the default using tax rules.


    These API routes allow admin users to manage tax rates and their rules.'
servers:
- url: http://localhost:9000
- url: https://api.medusajs.com
tags:


# --- truncated at 32 KB (52 KB total) ---
# Full source: https://artifacts.apis.io/medusa/openapi/medusa-tax-rates-api-openapi.yml