NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Subscription Term → Update record

AI-generated

Summary

Update an existing Subscription Term record in NetSuite by providing its internal identifier and optionally modifying its fields, including custom fields.

Inputs

  • Id (required) — The internal identifier of the Subscription Term record to update.
  • Additional Fields — Optional fields to update on the Subscription Term such as Duration, External ID, Inactive status, Name, Subscription Term Type, Subscription Term Unit, and various request-specific headers.
  • Custom Fields — List of custom fields to update on the Subscription Term record, each identified by field name and type, with the corresponding value to set.
  • Authentication Method — Choice of OAuth1 or OAuth2 for authenticating the API request.
  • Debug Mode — If true, includes full request and response details in the output for debugging purposes.

Output shape

a single record object representing the updated Subscription Term.

The operation sends a PATCH request to the /subscriptionTerm/{id} endpoint. Optional 'Prefer' header allows asynchronous processing. Debug mode appends detailed request and response information in the node output. Custom fields are handled explicitly. Errors or strictness of validation can be influenced by optional headers.

Examples

Example 1: Update the name and duration of a Subscription Term with ID 123, setting it inactive and including a custom boolean field value.

Set Id to 123. Under Additional Fields, set Name, Duration, and Inactive. Under Custom Fields add a boolean custom field with the field name and boolean value. Optionally enable Debug Mode to see API request and response details.

Links

Discussion