List order schedule

Changed on

This endpoint returns the upcoming scheduled orders for a subscription, including billing dates.

get/2023-10/subscription/{subscriptionId}/order/schedule

Request

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

Path parameters

subscriptionIdinteger required

The unique identifier for a subscription in Loop.

Response

200

successboolean
messagestring
codestring

Example response

{
  "success": true,
  "message": "Order schedule fetched successfully",
  "data": [
    {
      "id": 63892079,
      "status": "UNPROCESSED",
      "billingDate": "2024-05-25T05:00:01.000Z"
    }
  ],
  "code": "SUCCESS"
}

Changes

    • breaking

      for the path request parameter subscriptionId, the type changed from string to integer, and format from no format to int32

    • warning

      removed the optional property from the response with the status