Use the REST API - cancel a subscription
This article explains how to cancel subscriptions using the REST API by creating an order.
You can use the "Create order" operation to cancel a subscription. Before the Orders feature is enabled, you have to use the "Cancel subscription", "Amend", or "CRUD: Create amendment" operation.
To cancel a subscription by creating an order:
To preview invoices for the updated subscription, use the "Preview order" operation.