curl --request POST \
--url https://api.cloud.flexprice.io/v1/taxes/rates \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"code": "<string>",
"description": "<string>",
"fixed_value": 123,
"metadata": {},
"name": "<string>",
"percentage_value": 123,
"scope": "INTERNAL",
"tax_rate_type": "percentage"
}'
{
"code": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"description": "<string>",
"environment_id": "<string>",
"fixed_value": 123,
"id": "<string>",
"metadata": {},
"name": "<string>",
"percentage_value": 123,
"scope": "INTERNAL",
"status": "published",
"tax_rate_status": "ACTIVE",
"tax_rate_type": "percentage",
"tenant_id": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
}
Create a tax rate
curl --request POST \
--url https://api.cloud.flexprice.io/v1/taxes/rates \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"code": "<string>",
"description": "<string>",
"fixed_value": 123,
"metadata": {},
"name": "<string>",
"percentage_value": 123,
"scope": "INTERNAL",
"tax_rate_type": "percentage"
}'
{
"code": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"description": "<string>",
"environment_id": "<string>",
"fixed_value": 123,
"id": "<string>",
"metadata": {},
"name": "<string>",
"percentage_value": 123,
"scope": "INTERNAL",
"status": "published",
"tax_rate_status": "ACTIVE",
"tax_rate_type": "percentage",
"tenant_id": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
}
Enter your API key in the format x-api-key <api-key>*
Tax rate to create
The body is of type object
.
Created
The response is of type object
.