List frequencies

Changed on

This endpoint allows you to fetch all the available frequencies for a particular subscription contract.

get/2023-10/subscription/{subscriptionId}/frequency

Request

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

Path parameters

subscriptionIdinteger required

The unique identifier for a subscription in Loop.

Response

200

successboolean
messagestring
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Available delivery intervals fetched successfully",
  "data": [
    {
      "deliveryInterval": "MONTH",
      "deliveryIntervalCount": 2,
      "billingInterval": "MONTH",
      "billingIntervalCount": 2
    }
  ],
  "code": "SUCCESS"
}

Changes

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • info

      api operation id list-available-frequencies removed and replaced with list-frequencies

    • info

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

    • info

      added 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