Skip to main content
POST
/
api
/
dashboard
/
tax-rates
Create Tax Rate
curl --request POST \
  --url https://api.example.com/api/dashboard/tax-rates \
  --header 'Content-Type: application/json' \
  --data '
{
  "region_code": "<string>",
  "rate": 0.5,
  "is_default": false
}
'
{
  "region_code": "<string>",
  "rate": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "is_default": false
}

Documentation Index

Fetch the complete documentation index at: https://docs.stella-commerce.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string | null
X-API-Key
string | null
X-Stella-Merchant-Id
string | null

Body

application/json
region_code
string
required
Required string length: 1 - 20
rate
required
Required range: 0 <= x < 1
is_default
boolean
default:false

Response

Successful Response

region_code
string
required
Required string length: 1 - 20
rate
string
required
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
id
string<uuid>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
is_default
boolean
default:false