commercetools icon

commercetools

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

Actions671

Store Product → Update ProductTailoring assigned to Product in Store by Product ID

AI-generated

Summary

Update the ProductTailoring assigned to a specific Product in a Store using the Product's ID, Store Key, Store Product Key, and version to specify the target and concurrency control.

Inputs

  • Store Product Key (required) — The key identifying the store product to update within the store.
  • Product ID (required) — The unique identifier of the product whose tailoring is to be updated.
  • Store Key (required) — The key of the store where the product and its tailoring are assigned.
  • Version (required) — The current version of the store product to handle update concurrency.
  • Actions (JSON) — A raw JSON array of update actions to apply to the product tailoring; when provided, overrides UI-based actions.

Output shape

a single record

Returns the updated product tailoring object as retrieved from the commercetools API after the update operation.

Examples

Example 1: Update product tailoring to change attributes or configuration

Provide the Store Key, Store Product Key, Product ID, the version number for concurrency, and specify the update actions in JSON to modify the tailoring accordingly.

Links

Discussion