commercetools icon

commercetools

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

Actions671

Product Tailoring → Update ProductTailoring by ID

AI-generated

Summary

Update a specific Product Tailoring in commercetools by providing its ID, the current version number for concurrency control, and a set of update actions either as JSON or via a user interface collection.

Inputs

  • Product Tailoring ID (required) — The unique identifier of the Product Tailoring to update.
  • Version (required) — The current version number of the Product Tailoring to ensure concurrency safety.
  • Actions (JSON) — A raw JSON array of update actions to perform on the Product Tailoring; if provided and not empty, this overrides the Actions (UI) input.
  • Actions (UI) — A collection of update actions selectable and configurable through the user interface, used if Actions (JSON) is empty.

Output shape

a single JSON object representing the updated Product Tailoring resource returned from the commercetools API

The operation makes an HTTP request to the commercetools API to perform the update and returns the updated resource in JSON format. The user must ensure they provide the correct current version to avoid conflicts. Errors are thrown on failure unless 'Continue On Fail' is enabled in the node.

Links

Discussion