NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Customer Status → Insert or update record

AI-generated

Summary

Updates or creates a NetSuite customer status record via PUT /customerStatus/{id}. Requires external identifier id. Supports optional authentication (OAuth1/OAuth2), debug mode, additional status fields, stage assignment, inactivity flag, lead report inclusion, description, replace/sublist handling, idempotency key, property validation preferences, and custom fields.

Inputs

  • id (required) — External identifier for the customer status record.
  • isDebugMode — Include full request and response info in output. Default false.
  • authMethod — Authentication method. Options: OAuth1, OAuth2. Default oauth1.
  • additionalFields — Collection of status fields. Sub-options include description (string, max 199 chars), externalId (string), isInactive (boolean), includeInLeadReports (boolean), id (internal identifier string), Prefer (options: empty, respond-async), probability (number), refName (string), replace (sublist names comma-separated), replaceSelectedFields (boolean), stage (collection with CUSTOMER/PROSPECT/LEAD options), name (status title string).
  • X-NetSuite-Idempotency-Key — User-defined unique idempotency key (UUID RFC 4122 format). Only one request executed per unique key; ignored for synchronous requests.
  • X-NetSuite-PropertyNameValidation — Strictness of property name validation. Options: empty, Error, Warning, Ignore.
  • X-NetSuite-PropertyValueValidation — Strictness of property value validation. Options: empty, Error, Warning, Ignore.
  • customFields — Fixed collection of custom fields (multiple values allowed). Each entry includes fieldName (options loaded via loadCustomFields), fieldType (options: boolean, dateTime, multiSelect, number, select, string), and value (typed accordingly).

Output shape

NetSuite customer status record response representation, including internal identifier and resource type.

Exact response shape depends on NetSuite API; debug mode returns full request/response details.

Examples

Example 1: Update customer status name and mark as inactive

Set id to the status external ID, name to new title, isInactive to true within additionalFields.

Links

Discussion