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

# Patch line item attributes

`PATCH /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`

This endpoint allows for partial updates to the line item attributes. This is useful for modifying specific attributes without affecting the entire lineItem attributes. Only the keys that need to be updated should be included in the request.

## 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/patch.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)
