NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Subscription Change Order → Insert or update record

AI-generated

Summary

Insert or update a Subscription Change Order record in NetSuite by specifying its external identifier and providing desired field values and optional custom fields.

Inputs

  • Id (required) — External identifier of the Subscription Change Order to insert or update.
  • Additional Fields — Optional fields and nested objects to set or update on the Subscription Change Order, such as action, approval status, billing account, customer, effective date, memo, renewal settings, subscription plan, and others.
  • Custom Fields — List of custom fields to include with their names, types, and values for the record.
  • Debug Mode — Enable to include full HTTP request and response details in the output for debugging purposes.
  • Authentication Method — Specify whether to authenticate using OAuth1 or OAuth2.
  • Prefer — Set server behavior for the request; supports 'respond-async' to execute asynchronously.
  • X-NetSuite-Idempotency-Key — Unique key to ensure idempotent asynchronous requests (ignored for synchronous).
  • X-NetSuite-PropertyNameValidation — Sets strictness for property name validation: Error, Warning, or Ignore.
  • X-NetSuite-PropertyValueValidation — Sets strictness for property value validation: Error, Warning, or Ignore.

Output shape

a JSON object representing the inserted or updated Subscription Change Order record, including returned fields from NetSuite; optionally includes debug info if enabled.

The operation uses PUT /subscriptionChangeOrder/{id} with 'id' as the external identifier. The output contains the API response object for the record. If Debug Mode is enabled, the output includes detailed HTTP request and response information. The API may process the request asynchronously if 'Prefer' is set to 'respond-async'.

Examples

Example 1: Update existing Subscription Change Order with external ID '12345' setting effectiveDate and memo

Set 'Id' to '12345', fill 'Additional Fields' with 'effectiveDate' and 'memo' values, optionally set 'Custom Fields', leave Debug Mode off.

Links

Discussion