To set up a custom role with the necessary permissions for fetching and deploying within NetSuite, follow these procedures:
Creating the Custom Role
- Navigate to Role Management:
- Go to Setup > Users/Roles > Manage Roles > New in NetSuite.
- Configure the Role:
- Fill out the Role record as described in the Customizing and Creating Roles section in NetSuite documentation.
- Assign Required Permissions:
- On the Permissions tab, add the following:

- Save and Assign the Role:
- Save the new Role record.
- Assign this custom role to the Employee records for users requiring developer access. Refer to Assigning Roles to Employee Records in NetSuite documentation for guidance.
Updating Script Deployment Records
To ensure the custom role has access to fetch and deploy capabilities, follow these steps:
- Access Script Deployments:
- Navigate to Customization > Scripting > Script Deployments in NetSuite.
- Apply Filters:
- Set the following filters:
- Type: RESTlet
- API Version: All
- Edit Script Deployment Records:
- Add the custom role to the Roles list on the Audience tab for the relevant script deployment records. These records depend on your SuiteCommerce implementation:
- For SuiteCommerce Extension Manager or SuiteCommerce Advanced (Aconcagua and later):
- Edit the following deployment records:
- customdeploy_ext_mech_deployer_rest
- customdeploy_ns_sc_ext_mech_restlets
- customdeploy_ext_mech_web_service_rest
- customdeploy_ns_sca_deployer_20xx_x_x (Replace 20xx_x_x with the SCA version, e.g., 2020_1_0).
- For SuiteCommerce Advanced or Site Builder Extensions (Kilimanjaro and earlier):
- Edit the script deployment records specific to your implementation:
- customdeploy_ns_sca_deployer_kilimanjaro
- customdeploy_ns_sca_deployer_elbrus
- customdeploy_ns_sca_deployer_mont_blanc
- customdeploy_ns_sca_deployer_vinson
- customdeploy_ns_sca_deployer_denali
- customdeploy_ns_sbe_deployer_elbrus
- customdeploy_ns_sbe_deployer_kilimanjaro
- customdeploy_ns_sbe_deployer_mont_blanc
- customdeploy_ns_sbe_deployer_vinson
- customdeploy_ns_sbep_deployer_denali
- customdeploy_ns_sbep_deployer_mont_blanc
- customdeploy_ns_sbep_deployer_vinson
- customdeploy_ns_sbep_deployer_elbrus
- customdeploy_ns_sbep_deployer_kilimanjaro
- Save Changes:
- Save the updated Script Deployment records to finalize the process.