commercetools icon

commercetools

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

Actions671

Subscription → Delete Subscription by ID

AI-generated

Summary

Delete a Subscription in commercetools by specifying its Subscription ID and version number, ensuring concurrency control.

Inputs

  • Subscription ID (required) — The unique identifier of the Subscription to be deleted.
  • Version (required) — The current version number of the Subscription to confirm the delete operation's concurrency control.

Output shape

a JSON object representing the deleted Subscription resource as returned by the commercetools API

Requires both Subscription ID and version for delete operation. On success, returns the deleted object data. On failure, returns error details. Uses commercetools OAuth2 authentication.

Links

Discussion