NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Subscription Plan → Insert record

AI-generated

Summary

Insert a new Subscription Plan record in NetSuite by specifying required and optional fields, including subscription plan name, additional configuration fields, and custom fields.

Inputs

  • Subscription Plan Name (itemId) (required) — Specify the name to identify the subscription plan.
  • Additional Fields — Provide optional subscription plan details such as advance renewal periods, class, description, income account, renewal options, subsidiaries, members, and other configurations.
  • Custom Fields — Specify custom field values for the subscription plan, supporting various field types including boolean, dateTime, multiSelect, number, select, and string.
  • Debug Mode (isDebugMode) — Enable to include full request and response information in the output.

Output shape

a single record object representing the inserted Subscription Plan or detailed request/response info if Debug Mode is enabled

Output includes the API response from NetSuite. If asynchronous execution is requested using the Prefer header, the response reflects async processing. Errors and validation warnings may be returned depending on header options set.

Examples

Example 1: Basic use

Set Subscription Plan Name and any additional fields needed. Operate with Debug Mode off for normal output.

Example 2: Custom fields insertion

Include custom field values to enrich the Subscription Plan record during insertion.

Example 3: Async request

Set 'Prefer' to 'respond-async' in Additional Fields to execute the request asynchronously with idempotency key for safe retries.

Discussion