Skip to main content
POST
/
taxes
Calculate taxes
curl --request POST \
  --url https://admin.aeoliancms.com/api/v1/taxes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "country": "<string>",
  "variants": [
    "<string>"
  ]
}
'
{
  "country": "<string>",
  "name": "<string>",
  "rates": [
    {
      "variantId": "<string>",
      "rateType": "percentage",
      "rate": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key in format ak_<48-hex-chars>

Body

application/json
country
string
required

2-letter country code

variants
string[]
required

Variant IDs (max 100)

Maximum array length: 100

Response

Tax rates for each variant

country
string
name
string
rates
object[]