---
title: "Update line item attributes"
method: PUT
path: "/2026-04/line/{lineId}/attribute"
---

# Update line item attributes

`PUT /2026-04/line/{lineId}/attribute`

## Request

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

The endpoint is used to completely update the attributes of a line item. This requires sending a full representation of the lineItem attributes, as it will overwrite the existing data.

## Path parameters

- `lineId` integer, required

## Request body

- object
  - `attributes` object[], required
    - `key` string: The name or identifier of the attribute.
    - `value` string: The corresponding data for that key.

## Response `200`

Custom attributes updated successfully

- object
  - `success` boolean
  - `message` string
  - `data` unknown
  - `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/line/:lineId/attribute/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)
