Loading...
Id of order to be queried
Update details of order
Success
const response = await fetch('https://api.platform.softwareone.com/public/v1/commerce/orders/{id}/query', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "id": "text", "href": "text", "notes": "text", "lines": [], "subscriptions": [ { "id": "text", "href": "text", "name": "text", "startDate": "2024-11-15T12:12:20.429Z", "terminationDate": "2024-11-15T12:12:20.429Z", "autoRenew": false, "commitmentDate": "2024-11-15T12:12:20.429Z", "lines": [] } ], "termsAndConditions": [] }