commercetools icon

commercetools

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

Actions671

Payment-method → Update PaymentMethod by Key

AI-generated

Summary

Update a commercetools PaymentMethod identified by its unique Key by applying one or more update actions.

Inputs

  • Payment-method Key (required) — The unique key of the PaymentMethod to update.
  • Version (required) — The current version of the PaymentMethod to ensure optimistic concurrency control.
  • Actions (JSON) — A raw JSON array of update actions to apply to the PaymentMethod. If provided and not empty, this overrides the UI-defined actions.
  • Actions (UI) — A collection of predefined update actions configurable via the UI, such as setting custom fields, default status, method, key, name, payment interface, and payment method status. Multiple actions can be specified.

Output shape

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

If the update is successful, the node returns the updated PaymentMethod object; if it fails, an error is thrown or included in output depending on the node's error handling settings.

Links

Discussion