Reactivate subscription
Changed onThis endpoint allows you to reactivate a cancelled subscription, allowing billing and deliveries to resume based on the original subscription schedule.
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/reactivate
- AuthAPI key in header Authorization
Path parameters
The unique identifier of the subscription in Loop.
Response
200
Example response
{
"success": true,
"message": "Subscription reactivated successfully",
"data": {
"id": 801000,
"shopifyId": 3760324761,
"status": "ACTIVE",
"nextBillingDateEpoch": 1703460659,
"totalLineItemDiscountedPrice": 90,
"currencyCode": "USD"
},
"code": "SUCCESS"
}Changes
- breaking
the
response's property type changed from no type toobjectfor status - info
for the
pathrequest parametersubscriptionId, the format was generalized fromint32toint64 - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
to the response with the status
- breaking