NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Subscription Plan → Update record

AI-generated

Summary

Update a Subscription Plan record in the NetSuite REST API by its internal identifier, modifying provided fields and custom fields as specified.

Inputs

  • id (required) — The internal identifier of the Subscription Plan to update.
  • additionalFields — Optional collection of Subscription Plan fields to update, such as description, display name, account references, renewal options, inactive status, and other record-specific attributes.
  • customFields — A list of custom fields to update in the record, specifying field name, type, and value.
  • isDebugMode — Flag to include full request and response information in the output for troubleshooting.
  • authMethod — Authentication method to use ('OAuth1' or 'OAuth2').
  • Prefer — Request server behavior, e.g., 'respond-async' for asynchronous execution.
  • replace — Comma-delimited list of sublist names to replace completely in the record.
  • replaceSelectedFields — If true, all fields to delete must be included in the 'replace' query parameter to allow deletion during update.
  • X-NetSuite-Idempotency-Key — Unique idempotency key (UUID format) for ensuring a request is executed only once, especially for asynchronous requests.
  • X-NetSuite-PropertyNameValidation — Strictness of property name validation (Error, Warning, Ignore).
  • X-NetSuite-PropertyValueValidation — Strictness of property value validation (Error, Warning, Ignore).

Output shape

a single updated Subscription Plan record object

Output contains the updated Subscription Plan record details. If 'isDebugMode' is enabled, includes full HTTP request and response information. Supports asynchronous execution if 'Prefer' is set to 'respond-async'.

Examples

Example 1: Update the description and display name of a Subscription Plan

Set 'id' to the Subscription Plan's internal ID, provide new 'description' and 'displayName' in 'additionalFields', optionally enable 'isDebugMode' to true.

Links

Discussion