Pause subscription
Changed onThis endpoint allows you to pause an active subscription, halting future billing and deliveries until it is resumed.
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/pause
- AuthAPI key in header Authorization
Path parameters
The unique identifier of the subscription in Loop.
Request body
Response
200
Example response
{
"success": true,
"message": "Subscription paused successfully",
"data": {
"id": 801000,
"shopifyId": 3760324761,
"status": "PAUSED",
"totalLineItemDiscountedPrice": 90,
"currencyCode": "USD"
},
"code": "SUCCESS"
}Changes
- breaking
removed the enum value
CUSTOMof the request property/ - breaking
removed the enum value
DAYof the request property/ - breaking
removed the enum value
MONTHof the request property/ - breaking
removed the enum value
YEARof the request property/ - breaking
the
response's property type changed from no type toobjectfor status - warning
removed the request property
/ - info
added the new optional request property
- info
for the
pathrequest parametersubscriptionId, the format was generalized fromint32toint64 - info
added the new
"CUSTOM"enum value to the request property/ - info
added the new
"DAY"enum value to the request property/ - info
added the new
"MONTH"enum value to the request property/ - info
added the new
"WEEK"enum value to the request property/ - info
added the new
"YEAR"enum value to the request property/ - 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