commercetools icon

commercetools

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

Actions671

Recurrence-policy → Delete RecurrencePolicy by ID

AI-generated

Summary

Delete a commercetools RecurrencePolicy by specifying its ID and current version number.

Inputs

  • Recurrence-policy ID (required) — The unique identifier of the RecurrencePolicy to delete.
  • Version (required) — The current version number of the RecurrencePolicy to ensure concurrency control on delete.

Output shape

a single JSON object representing the API response from the delete operation

Requires both the Recurrence-policy ID and version parameters. Returns HTTP status details from the commercetools API confirming deletion or error information if failed.

Examples

Example 1: Delete a RecurrencePolicy by ID with version 3

Set Recurrence-policy ID to 'abc-123' and Version to 3 to delete the specified policy.

Links

Discussion