---
title: "Update Subscription Quantity"
method: POST
path: "/api/v1/subscriptions/update-quantity"
tags: ["subscriptions"]
---

# Update Subscription Quantity

`POST /api/v1/subscriptions/update-quantity`

## Request

- Base URL: `https://api.seoproai.co`
- URL: `https://api.seoproai.co/api/v1/subscriptions/update-quantity`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/authorize`, token URL `https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/token`)

Update the quantity of an existing Stripe subscription item.

## Request body

- UpdateSubscriptionQuantityRequest
  - `stripe_subscription_id` string, required: The Stripe ID of the subscription to update.
  - `new_quantity` integer, required: The desired new quantity (must be > 0).

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/seoproai/apis/seopro-ai.md) · [All operations](https://skmtc.dev/seoproai/apis/seopro-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/seoproai/apis/seopro-ai/revisions/5b4b6391ddc9?raw)
