Skip to content

Group Codes

Client records have two code-related fields Group Code (custentity_gvcpa_groupcode) and Sub Group (custentity_gvcpa_subgroup). These are freeform text fields. To add/remove a client from a group or subgroup, use the client APIs to edit these fields. To gather data on all codes, use the Group Codes and Sub Group Codes Get endpoints.

Base URL

https://{{accountid}}.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=customscript_prac_api_groupcodes&deploy=customdeploy_prac_api_groupcodes_v1

HTTP: GET

Gets all the group codes.

Required Parameters

Name Value Notes
script customscript_prac_api_groupcodes
deploy customdeploy_prac_api_groupcodes_v1

Optional Parameters

Name Value Notes
custparam_subsidiary {{integer}} Limit codes to clients of this subsidiary (internal ID).