post https://api.fastspring.com/subscriptions/coterm//execute
This endpoint completes the co-term group process by updating all linked subscriptions.
If any subscription update fails, FastSpring reverses the entire operation to maintain data integrity. Once all updates are successful, a new order gets created for the co-term group to handle future billings, and FastSpring sends a coterm group notification.
Error Handling
This table lists errors you may run into when working with this endpoint, as well as solutions to help you troubleshoot.
Status Code | Error Message | Solution |
---|---|---|
400 | The CoTerm group's execution should be estimated before committing. | Verify that you ran the estimate process before executing the co-term group. |
400 | An exception occurred during the creation of the initial order. Active coTerm group not found with id: [cotermGroupId] | Verify the coTermGroupId is correct and the co-term group is active before attempting to execute it. |
400 | An exception occurred during the creation of the initial order. There are no subscriptions available for proration. | Verify that there are eligible subscriptions for proration before executing the co-term group. |