v1
latestOpenAPI 3.1.02026-07-241080412.6 KBRenew subscription
Use this endpoint to renew externally-managed subscriptions (EMS) - subscriptions whose life cycle is managed outside of Cleeng.
post/subscriptions/{subscriptionId}/renew
Path parameters
subscriptionIdinteger required
Subscription identifier in Cleeng.
Headers
Content-Typestring
Request body
Response
200
Example response
{
"subscriptionId": 123456789,
"publisherId": 111111111,
"customerId": 123456789,
"status": "active",
"dateFrom": 1696502765,
"dateTo": 1700912767,
"nextPaymentAction": "authorise",
"nextPaymentActionDate": 1700912767,
"subscriptionExternalId": "CustomExternalId",
"offerId": "S123456789_PL",
"paymentCountry": "PL",
"paymentMethodId": 987654321,
"isExternallyManaged": true,
"replacedBy": {
"subscriptionId": 100000000,
"reason": "string"
},
"originatedFrom": {
"subscriptionId": 111111111,
"reason": "string"
},
"source": "samsung",
"renewalCycle": {
"unit": "month",
"amount": 3
}
}