---
title: "Apply upgrade profile"
method: POST
path: "/2026-04/subscription/{subscriptionId}/upgrade"
---

# Apply upgrade profile

`POST /2026-04/subscription/{subscriptionId}/upgrade`

## Request

- Base URL: `https://api.loopsubscriptions.com/storefront`
- URL: `https://api.loopsubscriptions.com/storefront/2026-04/subscription/{subscriptionId}/upgrade`
- Auth: API key in header `Authorization`

This endpoint allows you to apply an upgrade profile to a subscription contract.

## Path parameters

- `subscriptionId` integer, required

## Request body

- object
  - `profileId` integer, required: The ID of the upgrade profile to apply to the subscription. Retrieve this ID using the Fetch Upgrade Profiles API.
  - `sourceLineId` integer: The ID of the subscription line item to upgrade. Required for multi-line subscriptions when you want to upgrade a specific line item. Only line items with an available SKU upgrade option can be upgraded in multi-line subscriptions
  - `variantShopifyId` integer: The Shopify variant ID of the product to upgrade to. Use this when the upgrade profile has multiple products configured as upgrade options. If omitted, the subscription is upgraded to the first product configured in the personalized upgrade profile.
  - `isMultiProductQuantityUpgrade` boolean: Use this request parameter when applying "Product quantity + frequency change" upgrade. Pass true if the give line needs to upgraded to multiple products. Defaults to false
  - `updatedProductInfo` object[]: Specifies the products and quantities to apply when using a Product quantity + frequency change upgrade for two or more products.
    - `variantShopifyId` string: The Shopify variant ID of the product to include in the upgraded subscription.
    - `quantity` string: The quantity of the product to include in the upgraded subscription.

## Response `200`

Upgrade profile appied to the given subscription successfully

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

## Changes

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

[Operation history](https://skmtc.dev/loopwork/apis/storefront-api/changes/2026-04/subscription/:subscriptionId/upgrade/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)
