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 Key

AI-generated

Summary

Update the ProductTailoring assigned to a specified product within a given store by using the store key and product key.

Inputs

  • Store Product Key (required) — The key identifying the specific product in the store whose ProductTailoring should be updated.
  • Store Key (required) — The key identifying the store containing the product.
  • Product Key (required) — The key identifying the product within the store to update its ProductTailoring.
  • Version (required) — The current version number of the resource to be updated, used for concurrency control.
  • Actions (JSON) — A JSON array of update actions to apply to the ProductTailoring. If provided and not empty, this raw JSON overrides any actions set via the UI.

Output shape

a single JSON object representing the updated ProductTailoring resource.

This operation requires specifying the resource version for update concurrency. The output includes the updated ProductTailoring assigned to the product in the store. Errors will be thrown for invalid inputs or version mismatches.

Links

Discussion