Update Line Attributes
3 min
Update a Line Attribute definition. Send only the fields you want to change.
PATCH /api/objects/LineAttribute/{id}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.
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.
Changing the mapped field creates and exposes the new downstream field on activation; Nue does not delete the previously mapped field.