Resume subscription

Changed on

This endpoint allows you to resume a previously paused subscription, reactivating billing and deliveries based on the original schedule.

post/2023-10/subscription/{subscriptionId}/resume

Request

  • Base URL
    https://api.loopsubscriptions.com/storefront
  • URL
    https://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/resume
  • Auth
    API key in header Authorization

Path parameters

subscriptionIdinteger required

The unique identifier of the subscription in Loop.

Response

200

successboolean
messagestring
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Subscription resumed 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 to object for status

    • info

      for the path request parameter subscriptionId, the format was generalized from int32 to int64

    • info

      removed the non-success 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

    • info

      added the optional property to the response with the status