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

# Update line item attributes

`PUT /2023-10/line/{lineId}/attribute`

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.

Rate limit - 5/s

## Path parameters

- `lineId` integer, required

## Request body

- object
  - `attributes` object[]
    - `key` string
    - `value` string

## Response `200`

200

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

## Other responses

- `400` — 400

---

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