commercetools icon

commercetools

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

Actions671

Standalone Price → Update StandalonePrice by Key

AI-generated

Summary

Update a Standalone Price in commercetools by specifying its key and version, applying one or more update actions to modify its fields.

Inputs

  • Standalone Price Key (required) — The unique key of the Standalone Price to update.
  • Version (required) — The current version of the Standalone Price to ensure update consistency.
  • Actions (UI) — One or more update actions to apply to the Standalone Price, selected via a UI collection (e.g., change active status, set custom fields, adjust price tiers).
  • Actions (JSON) — Raw JSON array of update actions to apply, which overrides the Actions (UI) when provided.

Output shape

a single JSON object representing the updated Standalone Price resource from commercetools API

The operation requires the Standalone Price's key and version for concurrency control. Users must provide update actions either as a UI collection or raw JSON array. The node returns the updated resource as received from the API. Errors will raise node exceptions unless continued-on-fail is enabled.

Examples

Example 1: Update Standalone Price's active status and set a custom key

Provide the Standalone Price Key and current Version, then add 'ChangeActive' and 'SetKey' actions via the UI to update these fields.

Links

Discussion