---
title: "Cancel subscription"
method: POST
path: "/2026-04/subscription/{subscriptionId}/cancel"
---

# Cancel subscription

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

## Request

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

This endpoint allows you to cancel an active or paused subscription, stopping all future billing and deliveries permanently or until reactivated by the customer or merchant.

## Path parameters

- `subscriptionId` integer, required

## Request body

- object
  - `cancellationFlowId` integer: The unique identifier of the cancellation flow.
  - `cancellationOfferId` integer: The unique identifier of the cancellation offer.
  - `comment` string: Optional key used to capture a message provided by the customer when canceling a subscription. Useful for collecting feedback or reasons for cancellation.

## Response `200`

Subscription cancelled successfully

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `id` integer
    - `shopifyId` integer
    - `status` string
    - `nextBillingDateEpoch` unknown
    - `totalLineItemDiscountedPrice` integer
    - `currencyCode` string
  - `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/cancel/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)
