NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Competitor → Update record

AI-generated

Summary

Update a NetSuite Competitor record by internal identifier via PATCH.

Inputs

  • id (required) — Internal identifier of the Competitor record to update.
  • authMethod — Authentication method; options: OAuth1 or OAuth2 (default: OAuth1).
  • isDebugMode — Boolean; when true, includes full request and response information in the output. Default false.
  • name — Enter the name of your competitor. Displayed on the Competitors subtab of opportunity records.
  • description — Enter a description of this competitor.
  • externalId — External identifier for the competitor.
  • isInactive — Boolean; check to inactivate this competitor. Inactive competitors do not appear on sales transactions. Default false.
  • url — Enter the URL of the competitor's Web site.
  • productService — Enter information about the products or services offered by this competitor.
  • strategy — Describe a strategy sales reps can use to win an opportunity over this competitor.
  • strengths — Describe or list the strengths of this competitor.
  • weaknesses — Describe or list the weaknesses of this competitor.
  • replace — Comma-delimited names of sublists on this record. All sublist lines will be replaced with lines specified in the request.
  • replaceSelectedFields — Boolean; if true, all fields that should be deleted in the update request, including body fields, must be included in the 'replace' query parameter. Default false.
  • X-NetSuite-Idempotency-Key — User-defined unique idempotency key (RFC 4122 UUID format) applied to every asynchronous request to ensure execution only once.
  • X-NetSuite-PropertyNameValidation — Sets strictness of property name validation. Options: Error, Warning, Ignore (default empty string).
  • X-NetSuite-PropertyValueValidation — Sets strictness of property value validation. Options: Error, Warning, Ignore (default empty string).
  • customFields — Fixed collection (multiple values); each entry specifies fieldName (options, required), fieldType (options: boolean, dateTime, multiSelect, number, select, string), and a typed value (boolean, dateTime, collection, or string accordingly).

Output shape

NetSuite competitor record response reflecting updated fields. Asynchronous execution supported via X-NetSuite-Idempotency-Key.

The operation targets the endpoint PATCH /competitor/{id}. Provide the internal ID in the 'id' parameter. Use 'additionalFields' parameters or 'customFields' to set record values. Authentication defaults to OAuth1 if 'authMethod' is omitted. Debug output included when 'isDebugMode' is true.

Examples

Example 1: Update competitor name and inactive status.

Set id to the competitor's internal ID, name to the new name, and isInactive to true.

Links

Discussion