---
title: Update Line Attributes
slug: update-line-attributes
docTags: 
createdAt: 2026-09-12T00:59:20.521Z
---

Update a Line Attribute definition. Send only the fields you want to change.

```javascript
PATCH /api/objects/LineAttribute/{id}
```

```bash
curl -X PATCH '{baseUrl}/api/objects/LineAttribute/a1Sa5000006aWvZEAU' \
  -H 'nue-api-key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{ "description": "Per-unit overage price for usage add-ons" }'
```

## Activating a draft

Set `"isActive": true` to activate a draft attribute. This runs the same provisioning as an active create — Nue creates the mapped field across the five line objects, adds it to the `Fields_Expose_to_Nue` field sets, and runs a Business Objects sync. If provisioning fails, the update fails and the attribute stays a draft.

```bash
curl -X PATCH '{baseUrl}/api/objects/LineAttribute/a1Sa5000006aWvZEAU' \
  -H 'nue-api-key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{ "isActive": true }'
```

To deactivate, send `"isActive": false`. Deactivation does not remove the provisioned field; it only takes the attribute out of the rep-facing surfaces.

:::hint{type="info"}
**Changing the mapped field** creates and exposes the new downstream field on activation; Nue does not delete the previously mapped field.
:::
