commercetools icon

commercetools

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

Actions671

Recurrence-policy → Update RecurrencePolicy by ID

AI-generated

Summary

Update an existing Recurrence-policy in commercetools by specifying its ID and current version, applying one or more update actions to modify its properties.

Inputs

  • Recurrence-policy ID (required) — The unique identifier of the Recurrence-policy to update.
  • Version (required) — The current version number of the Recurrence-policy to ensure concurrency control.
  • Actions (JSON) — A raw JSON array of update actions to apply; overrides the UI action inputs when provided.
  • Actions (UI) — One or more update actions specified via the UI, such as setting the description, key, name, or schedule of the Recurrence-policy.

Output shape

a single JSON object representing the updated Recurrence-policy resource returned by the commercetools API

If an Actions (JSON) array is provided and non-empty, it takes precedence over the UI-specified actions. The operation requires the version parameter to avoid conflicting updates and returns the updated resource's full details.

Links

Discussion