commercetools icon

commercetools

Interact with the commercetools API. Operations are auto-generated from the official Postman collection.

Actions671

Tax-category → Update TaxCategory by Key

AI-generated

Summary

Update an existing TaxCategory in commercetools by specifying its unique Key and current Version, applying one or more update actions to modify its properties.

Inputs

  • Tax-category Key (required) — The unique key identifying the TaxCategory to update.
  • Version (required) — The current version number of the TaxCategory for optimistic concurrency control.
  • Actions (JSON) — A raw JSON array of update actions to apply, which overrides the UI-configured actions when provided.
  • Actions (UI) — One or more individual update actions selected and configured through the node's UI, such as adding, removing, or replacing tax rates, changing the name, setting a description, or setting a new key.

Output shape

a single JSON object representing the updated TaxCategory resource as returned by the commercetools API

The update requires the current version number for concurrency control. Update actions can be specified either as a JSON array or via the UI; if both are provided, the JSON array takes precedence. The operation may throw errors if the resource does not exist or the version is invalid.

Links

Discussion