Returns list of all subscriptions for the order.
#227:
Change request updated 2 months ago
Success
const response = await fetch('https://api.platform.softwareone.com/public/v1/commerce/orders/{orderId}/subscriptions', { method: 'GET', headers: {}, }); const data = await response.json();
{ "data": [ { "id": "text", "href": "text", "name": "text", "startDate": "2025-01-23T21:11:36.425Z", "terminationDate": "2025-01-23T21:11:36.425Z", "autoRenew": false, "commitmentDate": "2025-01-23T21:11:36.425Z", "lines": [] } ] }