Update Frequency

Changed on

This is endpoint allows you to update the frequency for a particular subscription contract.

put/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.

Request body

nextBillingDateEpochinteger required

New billing date (in epoch seconds) of the subscription.

cancellationFlowIdinteger

Optional parameter : Unique identifier for cancellation flow. This parameter is used to log the cancellation reason performance.

Response

200

successboolean
messagestring
dataunknown
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Frequency updated successfully",
  "code": "SUCCESS"
}

Changes

    • breaking

      the request property became required

    • breaking

      the request property format changed from int64 to int32

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the new DAY enum value to the request property /

    • info

      added the non-success response with the status