Create a Custom Field
1 min
POST
https://api.nue.io/cpq/objects/{objectName}/custom-fields
objectNamestring<p>The Nue object to create the field on, e.g. PriceBookEntry</p>
acceptstringGenerated from available response content types
bodyobject
201The field exists on the object and Nue has been synchronized
400<p>The object is not one Nue synchronizes custom fields for, the field definition is incomplete for its type, or Salesforce refused to create the field</p>
404Not Found
501<p>The tenant is not Salesforce-integrated</p>
curl --request POST \
--url https://api.nue.io/cpq/objects/{objectName}/custom-fields \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"name": "",
"type": "",
"picklistValues": [
{
"value": ""
}
]
}'