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

# Edit line quantity

`PUT /2026-04/subscription/{subscriptionId}/line/{lineId}/quantity`

## Request

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

## Path parameters

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

## Request body

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

## Response `200`

Quantity updated successfully

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `id` integer
    - `name` string
    - `shopifyId` string
    - `quantity` integer
    - `price` 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/line/:lineId/quantity/put.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)
