Was this helpful?
#330:
Change request updated 3 months ago
/v1/commerce/orders/{orderId}/subscriptions/{id}
Id of the subscription to update
curl -L \ --request PUT \ --url 'https://api.platform.softwareone.com/public/v1/commerce/orders/{orderId}/subscriptions/{id}' \ --header 'Content-Type: application/json' \ --data '{"audit":{},"$meta":{},"externalIds":{},"agreement":{},"terms":{},"product":{},"status":{},"parameters":{},"price":{},"lines":[]}'
{ "id": "text", "audit": {}, "$meta": {}, "href": "text", "name": "text", "startDate": "2025-02-23T21:32:11.844Z", "terminationDate": "2025-02-23T21:32:11.844Z", "externalIds": {}, "agreement": {}, "terms": {}, "product": {}, "autoRenew": true, "status": {}, "commitmentDate": "2025-02-23T21:32:11.844Z", "price": {}, "parameters": {}, "buyer": {}, "licensee": {}, "seller": {}, "lines": [] }