NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Subscription Line → Insert or update record

AI-generated

Summary

Insert or update a Subscription Line record in the NetSuite REST API by specifying the record's external ID and optional fields to modify or set.

Inputs

  • id (required) — External identifier of the Subscription Line record to update.
  • additionalFields — Optional additional properties to include or update on the Subscription Line, such as billing mode, catalog type, dates, discounts, statuses, custom form, and related references.
  • customFields — Custom fields to set on the Subscription Line record, supporting multiple data types like boolean, dateTime, number, select, multi-select, and string.
  • isDebugMode — Whether to include full request and response information in the output for debugging purposes.
  • authMethod — Authentication method used for the request, either OAuth1 or OAuth2.

Output shape

a single record representing the created or updated Subscription Line, optionally including full request and response info if Debug Mode is enabled.

The operation requires the Subscription Line external ID to identify the record. The 'additionalFields' and 'customFields' collections allow extensive customization of the record's properties. Supports asynchronous execution if the 'Prefer' header is set accordingly. Errors include detailed debug info if Debug Mode is enabled.

Links

Discussion