NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Service Purchase Item → Insert record

AI-generated

Summary

Insert a new Service Purchase Item record in NetSuite using provided details and optional custom fields.

Inputs

  • isDebugMode — Boolean flag to include full request and response debug information in the output.
  • authMethod — Authentication method to use for the request, either OAuth1 or OAuth2. Defaults to OAuth1.
  • additionalFields — Optional additional fields to specify specific attributes of the Service Purchase Item, such as Allocation Price, Amortization Period, Currency, Description, Expense Account, Vendor, and many others detailed in the operation's configuration.
  • customFields — Optional list of custom fields with their names, types, and values to include in the new Service Purchase Item record.

Output shape

A single JSON object representing the newly created Service Purchase Item record as returned by the NetSuite REST API, including all created field values and identifiers.

The output optionally includes full request and response data if debug mode is enabled. The operation sends an HTTP POST request to the /servicePurchaseItem endpoint; the returned record corresponds to the inserted Service Purchase Item. Custom fields are supported and must be configured in the node to match NetSuite definitions.

Links

Discussion