commercetools icon

commercetools

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

Actions671

Extension → Update Extension by Key

AI-generated

Summary

Update an existing Extension in the commercetools project by specifying its unique key and current version, applying desired changes via an array of update actions provided as JSON.

Inputs

  • Extension Key (required) — The unique string key identifying the Extension to update.
  • Version (required) — The current version number of the Extension to be updated, for concurrency control.
  • Actions (JSON) — A raw JSON array of update actions to apply to the Extension; overrides UI actions if provided.

Output shape

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

The operation returns the updated Extension's full JSON representation if successful; errors throw exceptions or return error information if 'Continue On Fail' is enabled.

Examples

Example 1: Update Extension by Key with Actions JSON

Set the Extension Key to target the specific Extension, provide the current Version, and supply an actions JSON array describing the update operations.

Links

Discussion