Upgrade profile action

Changed on

This endpoint is used to log the view and rejection of the upgrade profile offered to a user. It accepts the upgrade profileId and viewType input and logs the information into the system's database for analytics purposes.

post/subscription/{subscriptionId}/upgrade/log

Request

  • Base URL
    https://api.loopsubscriptions.com/storefront
  • URL
    https://api.loopsubscriptions.com/storefront/subscription/{subscriptionId}/upgrade/log
  • Auth
    API key in header Authorization

Path parameters

subscriptionIdinteger required

The unique identifier of the subscription in Loop.

Request body

profileIdinteger

The unique identifier of the upgrade profile in Loop.

viewType'BANNER_VIEW' | 'DETAILED_VIEW' | 'DISMISSED'

Response

200

successboolean
messagestring
dataunknown
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Action logged successfully",
  "code": "SUCCESS"
}

Changes