curl --request PUT \
--url https://eu.sequencehq.com/api/tax-rates/{id} \
--header 'Content-Type: application/json' \
--data '{
"id": "0373904e-0f24-4c19-bb0d-9b855f1ec3ca",
"isPublished": false,
"name": "UK Sales Tax",
"invoiceName": "Value Added Tax",
"invoiceShortName": "VAT",
"description": "Value Added Tax applied to sales in the UK",
"amount": "0.2",
"country": "GB",
"region": "London",
"taxCategoryId": "ce109c64-dcc0-487a-ac8c-e3237c60cdb6"
}'
{
"id": "d58bf2e3-7a5d-4900-8457-2521c6880f7d",
"versionId": "82ef6f1a-afc2-4a8d-b868-6d9c72bf395f",
"version": 0,
"isPublished": false,
"name": "UK Sales Tax",
"invoiceName": "Value Added Tax",
"invoiceShortName": "VAT",
"description": "Value Added Tax applied to sales in the UK",
"amount": "0.2",
"country": "GB",
"region": "London",
"taxCategoryId": "ce109c64-dcc0-487a-ac8c-e3237c60cdb6",
"isArchived": false,
"updatedAt": "2024-05-09T00:00:00Z"
}
Update a TaxRate
curl --request PUT \
--url https://eu.sequencehq.com/api/tax-rates/{id} \
--header 'Content-Type: application/json' \
--data '{
"id": "0373904e-0f24-4c19-bb0d-9b855f1ec3ca",
"isPublished": false,
"name": "UK Sales Tax",
"invoiceName": "Value Added Tax",
"invoiceShortName": "VAT",
"description": "Value Added Tax applied to sales in the UK",
"amount": "0.2",
"country": "GB",
"region": "London",
"taxCategoryId": "ce109c64-dcc0-487a-ac8c-e3237c60cdb6"
}'
{
"id": "d58bf2e3-7a5d-4900-8457-2521c6880f7d",
"versionId": "82ef6f1a-afc2-4a8d-b868-6d9c72bf395f",
"version": 0,
"isPublished": false,
"name": "UK Sales Tax",
"invoiceName": "Value Added Tax",
"invoiceShortName": "VAT",
"description": "Value Added Tax applied to sales in the UK",
"amount": "0.2",
"country": "GB",
"region": "London",
"taxCategoryId": "ce109c64-dcc0-487a-ac8c-e3237c60cdb6",
"isArchived": false,
"updatedAt": "2024-05-09T00:00:00Z"
}
Use this header to select an API version
2024-07-30
TaxRate ID
OK
The response is of type object
.