NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Subscription → Insert or update record

AI-generated

Summary

Update or insert a Subscription record in NetSuite by specifying the subscription's external identifier and desired field values.

Inputs

  • id (required) — The external identifier of the subscription to update or insert.
  • additionalFields — Optional fields to include or update on the subscription record, such as start/end dates, billing info, renewal options, subscription lines, and related entities.
  • customFields — Custom fields to set on the subscription, supporting various types like boolean, date-time, number, select, multi-select, and string.
  • isDebugMode — Whether to include full request and response details in the output for debugging purposes.

Output shape

a single record representing the inserted or updated Subscription, including any returned data from NetSuite's REST API.

If Debug Mode is enabled, the output object will also include detailed request and response information. The operation requires the Subscription external ID and can accept numerous optional fields to customize the record. Validation strictness can be controlled via headers. The request is sent synchronously by default but can be made asynchronous with specific headers.

Discussion