---
title: "Reduce a prepaid plan by a number of orders"
method: PUT
path: "/subscriptions/{subscriptionId}/lines/{subscriptionLineId}/reduce-prepaid-plan"
tags: ["Subscriptions"]
---

# Reduce a prepaid plan by a number of orders

`PUT /subscriptions/{subscriptionId}/lines/{subscriptionLineId}/reduce-prepaid-plan`

Reduce a prepaid plan of a subscription contract line by a number of orders.
The number of orders to reduce by is passed in the request body and can't be
more than the number of prepaid orders left in the current cycle.

## Path parameters

- `subscriptionId` string, required
- `subscriptionLineId` string, required

## Request body

- object
  - `reduceLength` number, required — Number of instances to reduce the prepaid plan

## Response `200`

Removed [reduceLength] free instance(s) from the line

- object
  - `reduceLength` number — Number of instances reduced

## Other responses

- `400` — Validation error

---

[API](https://skmtc.net/awtomic/apis/awtomic-api.md) · [All operations](https://skmtc.net/awtomic/apis/awtomic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awtomic/awtomic-api/revisions/dfe3dfce125c/schema)
