---
title: "Upgrade profile action"
method: POST
path: "/subscription/{subscriptionId}/upgrade/log"
---

# Upgrade profile action

`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`

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.

## Path parameters

- `subscriptionId` integer, required

## Request body

- object
  - `profileId` integer: The unique identifier of the upgrade profile in Loop.
  - `viewType` 'BANNER_VIEW' | 'DETAILED_VIEW' | 'DISMISSED'

## Response `200`

200

- object
  - `success` boolean
  - `message` string
  - `data` unknown
  - `code` string
  - `pageInfo` unknown

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `1ff6a5700816`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/loopwork/apis/storefront-api/changes/subscription/:subscriptionId/upgrade/log/post.md)

---

[API](https://skmtc.dev/loopwork/apis/storefront-api.md) - [All operations](https://skmtc.dev/loopwork/apis/storefront-api/llms.txt) - [OpenAPI document](https://skmtc.dev/loopwork/apis/storefront-api/revisions/1ff6a5700816?raw)
