---
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/admin`
- URL: `https://api.loopsubscriptions.com/admin/2026-04/line/{lineId}/attribute`
- Auth: API key in header `X-Loop-Token`

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
    - `value` string

## Response `200`

Custom attributes updated successfully

- object
  - `success` boolean
  - `message` string
  - `data` unknown
  - `code` string
  - `pageInfo` unknown

---

[API](https://skmtc.dev/loopwork/apis/loop-admin.md) - [All operations](https://skmtc.dev/loopwork/apis/loop-admin/llms.txt) - [OpenAPI document](https://skmtc.dev/loopwork/apis/loop-admin/revisions/1eaf81bcb1ea?raw)
