Was this helpful?
#227:
Change request updated 3 months ago
Creates a new subscription and adds it to the order.
/v1/commerce/orders/{orderId}/subscriptions
curl -L \ --request POST \ --url 'https://api.platform.softwareone.com/public/v1/commerce/orders/{orderId}/subscriptions' \ --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-23T05:42:48.787Z", "terminationDate": "2025-02-23T05:42:48.787Z", "externalIds": {}, "agreement": {}, "terms": {}, "product": {}, "autoRenew": true, "status": {}, "commitmentDate": "2025-02-23T05:42:48.787Z", "price": {}, "parameters": {}, "buyer": {}, "licensee": {}, "seller": {}, "lines": [] }