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