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

# Upgrade profile action

`POST /2023-10/subscription/{subscriptionId}/upgrade/log`

This endpoint allows you to log customer interactions with an upgrade profile, such as banner views, drawer views, and dismissals. These logs are used for tracking upgrade offer performance and analytics.

## Path parameters

- `subscriptionId` integer, required

## Query parameters

- `profileId` string, required
- `viewType` 'BANNER_VIEW' | 'DETAILED_VIEW' | 'DISMISSED', required

## Response `200`

200

- object
  - `success` boolean — Indicates whether the upgrade profile action was logged successfully.
  - `message` string — Provides additional context about the result of the request.
  - `data` string — Contains response data for the request. This is returned as null when no additional data is available.
  - `code` string — Response status code returned by Loop. For a successful request, this is usually SUCCESS.
  - `pageInfo` string — Pagination information for the response. This is null when pagination is not applicable.

---

[API](https://skmtc.net/loopwork/apis/storefront-api.md) · [All operations](https://skmtc.net/loopwork/apis/storefront-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loopwork/storefront-api/versions/1524500daa02/schema)
