Subscriptions
Restore subscription
Restores a canceled subscription. Any subscription scheduled to start later will be deleted and this subscription will be continued indefinitely.
post/api/v1/subscriptions/{subscriptionId}/restore
Path parameters
subscriptionIdstring required
Example:01G65Z755AFWAKHE12NY0CQ9FH
Response
The request has succeeded.
Example response
{
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"metadata": {
"externalId": "019142cc-a016-796a-8113-1a942fecd26d"
},
"createdAt": "2024-01-01T01:01:01.001Z",
"updatedAt": "2024-01-01T01:01:01.001Z",
"deletedAt": "2024-01-01T01:01:01.001Z",
"activeFrom": "2023-01-01T01:01:01.001Z",
"activeTo": "2023-01-01T01:01:01.001Z",
"annotations": {
"externalId": "019142cc-a016-796a-8113-1a942fecd26d"
},
"customerId": "01G65Z755AFWAKHE12NY0CQ9FH",
"plan": {
"id": "01G65Z755AFWAKHE12NY0CQ9FH"
},
"currency": "USD",
"billingCadence": "P1M",
"billingAnchor": "2023-01-01T01:01:01.001Z"
}