curl --request PUT \
--url https://us.api.flexprice.io/v1/taxes/rates/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"code": "<string>",
"description": "<string>",
"metadata": {},
"name": "<string>",
"tax_rate_status": "ACTIVE"
}
'{
"code": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"description": "<string>",
"environment_id": "<string>",
"fixed_value": "<string>",
"id": "<string>",
"metadata": {},
"name": "<string>",
"percentage_value": "<string>",
"scope": "INTERNAL",
"status": "published",
"tax_rate_status": "ACTIVE",
"tax_rate_type": "percentage",
"tenant_id": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
}Update a tax rate
curl --request PUT \
--url https://us.api.flexprice.io/v1/taxes/rates/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"code": "<string>",
"description": "<string>",
"metadata": {},
"name": "<string>",
"tax_rate_status": "ACTIVE"
}
'{
"code": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"description": "<string>",
"environment_id": "<string>",
"fixed_value": "<string>",
"id": "<string>",
"metadata": {},
"name": "<string>",
"percentage_value": "<string>",
"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 ID
Tax rate to update
code is the updated unique alphanumeric identifier for the tax rate
description is the updated text description for the tax rate
metadata contains updated key-value pairs that will replace existing metadata
Show child attributes
name is the updated human-readable name for the tax rate
ACTIVE, INACTIVE OK
Show child attributes
INTERNAL, EXTERNAL, ONETIME published, deleted, archived ACTIVE, INACTIVE percentage, fixed