---
title: "Archive a product payment plan"
method: DELETE
path: "/api/products/{productId}/payment-plans/{planId}"
tags: ["Product Payment Plans"]
---

# Archive a product payment plan

`DELETE /api/products/{productId}/payment-plans/{planId}`

## Path parameters

- `productId` string, required
- `planId` string, required

## Response `200`

Success.

- PaymentPlan
  - `planId` string
  - `name` string
  - `type` 'free' | 'onetime' | 'emi' | 'subscription'
  - `entityId` string
  - `entityType` string
  - `oneTimeAmount` number
  - `emiAmount` number
  - `emiTotalInstallments` number
  - `subscriptionMonthlyAmount` number
  - `subscriptionYearlyAmount` number
  - `description` string
  - `isDefault` boolean

## Other responses

- `422` — Payment plan could not be archived.

## Changes

- **2026-07-17** `3b48f60910dc` — 1 info
  - endpoint added
- **2026-04-19** `85a1c15f561d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/codelitdev/apis/courselit-rest-api/changes/api/products/:productId/payment-plans/:planId/delete.md)

---

[API](https://skmtc.dev/codelitdev/apis/courselit-rest-api.md) · [All operations](https://skmtc.dev/codelitdev/apis/courselit-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/codelitdev/courselit-rest-api/revisions/3b48f60910dc/schema)
