commercetools icon

commercetools

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

Actions671

Product Tailoring → Update ProductTailoring by Key

AI-generated

Summary

Update a Product Tailoring in commercetools by its unique key by specifying the version and one or more update actions.

Inputs

  • Product Tailoring Key (required) — The unique key identifying the Product Tailoring to update.
  • Version (required) — The current version number of the Product Tailoring, used for concurrency control.
  • Actions (UI) — One or more update actions to apply to the Product Tailoring, selectable via UI fields such as adding assets or variants, changing attributes, publishing, etc.
  • Actions (JSON) — A raw JSON array of update actions that overrides the UI actions when provided.

Output shape

a single record containing the updated Product Tailoring resource as returned by the commercetools API

If the update is successful, the API response includes the full updated Product Tailoring data. Ensure the version field matches the latest to avoid conflict errors. Actions can be specified in UI or JSON format; JSON overrides UI input if not empty.

Links

Discussion