NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

[Custom Record] → Update record

AI-generated

Summary

Patch a NetSuite custom record using its type and internal ID.

Inputs

  • customRecordType (required) — Custom Record Type. Enter an ID or select from a loaded list (loadCustomRecordTypes). Modes: 'Enter ID' (string) or 'From List' (search via loadCustomRecordTypes; loading may take several minutes).
  • id (required) — Internal identifier of the custom record to update. Type: number.
  • isDebugMode — Whether to include full request and response information in the output. Default: false. Type: boolean.
  • authMethod — Authentication method for the NetSuite REST API request. Options: OAuth1 (default) or OAuth2. Type: options. noDataExpression: true.
  • additionalFields — NetSuite-specific headers and parameters for the PATCH request. Type: collection, default {}. Sub-options: externalId (string), name (string), Prefer (options: '' or 'respond-async' — executes request asynchronously and returns 'Preference-applied: respond-async'), Replace (string — sublist names delimited by comma, all lines replaced), ReplaceSelectedFields (boolean, default false — if true, deleted fields must be included in the 'replace' parameter), X-NetSuite-Idempotency-Key (string — RFC 4122 UUID for ensuring asynchronous requests execute only once), X-NetSuite-PropertyNameValidation (options: '', 'Error', 'Warning', 'Ignore'), X-NetSuite-PropertyValueValidation (options: '', 'Error', 'Warning', 'Ignore').
  • customFields — List of custom field name-value pairs to update on the record. Type: fixedCollection, multipleValues: true, default {}. Each entry requires fieldName (options, loaded via loadCustomFields) and fieldType (options: '', 'Boolean', 'Date Time', 'Multi Select', 'Number', 'Select', 'String'). The value field's type and input schema depend on fieldType: Boolean (boolean), Date Time (dateTime string), Multi Select (collection of strings with id/externalId), Number (number), Select (collection of strings with id/externalId), String (string).

Output shape

NetSuite REST API response for the PATCH request /{customRecordType}/{id}. Full request/response details included if isDebugMode is enabled.

The operation sends a PATCH request to the NetSuite REST endpoint /{customRecordType}/{id}. Authentication is handled via the selected authMethod. All additionalFields and customFields parameters are passed through to the API request.

Links

Discussion