Nour
03/08/2026, 11:07 AMCeligo AI
03/08/2026, 11:08 AMAI generated answer (using internal Slack threads):To add an entry to a custom list through integration rest in NetSuite, you can treat the custom list like a normal custom record and use the
record.create method with the script id of the custom list. Alternatively, you can load the list itself like a custom record type using record.load with a type of customlist and the id as the internal id of the custom list.
Here is a sample code snippet:
javascript
var record = require('N/record');
var customListRecord = record.create({
type: 'customlist', // replace 'customlist' with the script id of your custom list
});
customListRecord.setValue({
fieldId: 'name', // replace 'name' with the field id of your custom list
value: 'New Entry', // replace 'New Entry' with the value you want to add
});
var recordId = customListRecord.save();
Please note that this is not officially supported by NetSuite and might require some testing and modification of scripts that utilize that record.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
03/08/2026, 11:08 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.842773497
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832336485
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825073302
Celigo AI
03/08/2026, 11:08 AM