Remove Order Subscription

Deletes subscription.

DELETEhttps://api.platform.softwareone.com/public/v1/commerce/orders/{orderId}/subscriptions/{id}
Path parameters
id*string

Id of subscription to be deleted

orderId*string
Response

No Content

Request
const response = await fetch('https://api.platform.softwareone.com/public/v1/commerce/orders/{orderId}/subscriptions/{id}', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();
Response
{
  "type": "text",
  "title": "text",
  "status": 0,
  "detail": "text",
  "instance": "text"
}