NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Subscription Term → Insert record

AI-generated

Summary

Insert a new Subscription Term record in NetSuite via REST API by specifying fields such as duration, name, term type, and term unit, along with optional custom fields and advanced HTTP preferences.

Inputs

  • Authentication Method — Choose OAuth1 or OAuth2 for authenticating the request, defaulting to OAuth1.
  • Additional Fields — Optional parameters to define Subscription Term properties including Duration (number), Name (string), Internal and External IDs (strings), Inactive status (boolean), Subscription Term Type (enum: EVERGREEN, CUSTOM, STANDARD), Subscription Term Unit (enum: YEARS, MONTHS, WEEKS, DAYS), and other HTTP headers for preferences, validation modes, and idempotency key.
  • Custom Fields — Specify one or more custom fields with their field name, type (Boolean, Date Time, Multi Select, Number, Select, String), and corresponding value to include with the record.
  • Debug Mode — Enable to include full request and response details in the node output for debugging purposes.

Output shape

a single record response containing the created Subscription Term data including any returned NetSuite identifiers and possibly extended debug information if Debug Mode is enabled

If Debug Mode is activated, the output includes complete HTTP request and response details. The operation handles asynchronous request preferences and idempotency via optional headers. Errors and validations are subject to the specified validation strictness options.

Examples

Example 1: Create a subscription term with a 12-month duration and name 'Premium Plan', setting it as standard term type and months as unit, including a custom field with string value.

Set Additional Fields: Duration=12, Name='Premium Plan', Subscription Term Type=STANDARD, Subscription Term Unit=MONTHS; add one Custom Field with field name, type=string, and value as needed; Authentication Method set as needed; Debug Mode false.

Links

Discussion