NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Service Purchase Item → Insert or update record

AI-generated

Summary

Insert or update a Service Purchase Item record in NetSuite by specifying its external identifier and desired fields.

Inputs

  • Id (required) — External identifier of the Service Purchase Item record to insert or update.
  • Additional Fields — Optional collection of fields to set or update on the Service Purchase Item, including properties like allocation price, amortization period, accounting classifications, purchase details, custom form, currency, vendors, descriptions, and more.
  • Custom Fields — Optional list of user-defined custom fields to include, specifying field names, types, and their values.
  • Debug Mode — Boolean flag to include full request and response information in the output for debugging purposes.

Output shape

a single record representing the inserted or updated Service Purchase Item.

The operation requires the 'Id' parameter to target the correct record for insertion or update. The output includes the updated record data; enabling Debug Mode adds full request/response details to the output. Custom and additional fields are optional, allowing partial updates. Supports idempotency and validation control via special headers as optional parameters.

Discussion