Line Attribute Data Reference
4 min
the lineattribute object the object apiname is lineattribute — not the salesforce lineattribute c name, which is rejected ( 404 no access to object metadata with name lineattribute c ) field names are nue camelcase apinames, not salesforce field names describe the live object at any time curl '{baseurl}/api/metadata/objects/lineattribute' h 'nue api key your api key' fields field type required description name text (80) yes unique rep facing label scope multi select picklist yes where the attribute appears send as an array see scope values docid 1jjpl8mk9xvjr2jg526gh mappedfieldapiname text (255) no the salesforce field the attribute maps to, e g overage rate c required for a usable attribute, though the api allows a draft without it isactive boolean no defaults to false controls the draft/active lifecycle appliestoproductsfilter long text no product filter; empty applies to all products description text (255) no rep facing help text defaultpluginactionid lookup (pricing plugin) no optional default plugin action read only, system populated id , createdbyid , createddate , lastmodifiedbyid , lastmodifieddate scope values scope is a multi select picklist (value set lineattributescope ) send an array of one or both value where the attribute appears line editor quick actions on the quote line editor subscription card update fields on the lifecycle manager subscription card errors status example cause 400 {"message" "scope is required "} a required field ( name , scope ) is missing 401 invalid auth key missing or invalid nue api key , or a key from a different environment 404 no access to object metadata with name lineattribute c wrong object name — use lineattribute , not the salesforce c name related resources line attributes https //docs nue io/line attributes — concept, admin ui, and rep workflow create objects guides and examples/customer lifecycle/cpq revenue lifecycle/objects/create objects mdx — the generic objects api update quote & order apex global method https //docs nue io/update quote and order apex global method — setting line attribute values on lines