NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Customer → Update record

AI-generated

Summary

Patches a NetSuite customer record using its internal identifier.

Inputs

  • id (required) — Internal identifier of the customer record to update.
  • isDebugMode — Whether to include full request and response info in the output.
  • authMethod — Authentication method for the API request.
  • additionalFields — Fields to update on the customer record. Supports aging periods, billing/shipping defaults, contact info, custom fields, and other NetSuite customer attributes.
  • externalId — External identifier of the customer record, if assigned.
  • override — Override setting for the update operation.
  • replace — Comma-delimited names of sublists to replace entirely during the update.
  • replaceSelectedFields — If true, all fields to be deleted must be included in the 'replace' parameter.
  • X-NetSuite-Idempotency-Key — Unique idempotency key for asynchronous request execution, ensuring the request is executed only once.

Output shape

The updated customer record resource object from the NetSuite REST API.

The operation maps to PATCH /customer/{id}. The required 'id' parameter identifies the record; all other fields are optional and are sent as part of the request body or headers as appropriate.

Examples

Example 1: Update a customer's billing address and credit limit.

Set 'id' to the customer's internal ID, and populate 'additionalFields' with the desired field updates (e.g., billing address, credit limit, etc.). Authentication defaults to OAuth1 unless 'authMethod' is changed to OAuth2.

Links

Discussion