NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Subscription Line → Update record

AI-generated

Summary

Update an existing Subscription Line record in NetSuite by specifying its internal ID and providing the fields to modify.

Inputs

  • Id (required) — Internal identifier of the Subscription Line record to update.
  • Additional Fields — Optional parameters to update various fields of the Subscription Line such as billing mode, catalog type, dates, discounts, item, location, status, subscription references, and other relevant attributes.
  • Custom Fields — Optional custom fields to update on the Subscription Line, with support for multiple field types including boolean, dateTime, multiSelect, number, select, and string.
  • Debug Mode — Flag to include full request and response information in the node's output for debugging purposes.
  • Authentication Method — Choose between OAuth1 and OAuth2 authentication methods for the request.

Output shape

a single JSON object representing the updated Subscription Line record as returned from the NetSuite REST API.

If 'Debug Mode' is enabled, the output includes detailed request and response data. The operation requires the 'Id' of the record to update and accepts optional fields for modification. Custom fields can be specified via a fixed collection. The response follows NetSuite's REST API response format for the PATCH /subscriptionLine/{id} endpoint.

Examples

Example 1: Update the billing mode and end date of a Subscription Line

Set the 'Id' of the Subscription Line to update, enable 'Additional Fields', provide the new 'Billing Mode' internal ID, and specify a new 'End Date'. Execute the operation to apply these changes to the record.

Links

Discussion