---
title: "Edit line quantity"
method: PUT
path: "/2023-10/subscription/{subscriptionId}/line/{lineId}/quantity"
---

# Edit line quantity

`PUT /2023-10/subscription/{subscriptionId}/line/{lineId}/quantity`

This endpoint allows you to update the quantity of a specific line of a specific subscription.

## Path parameters

- `subscriptionId` integer, required
- `lineId` integer, required

## Request body

- object
  - `quantity` integer, required — The updated quantity of line.

## Response `200`

200

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `id` integer
    - `name` string
    - `shopifyId` string
    - `quantity` integer
    - `price` string
  - `code` string
  - `pageInfo` unknown

---

[API](https://skmtc.dev/loopwork/apis/storefront-api.md) · [All operations](https://skmtc.dev/loopwork/apis/storefront-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/loopwork/storefront-api/revisions/1524500daa02/schema)
