NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Service Purchase Item → Update record

AI-generated

Summary

Update a Service Purchase Item record in NetSuite by specifying its internal Id and providing the fields to modify, optionally including custom fields and debug information.

Inputs

  • Id (required) — Internal identifier of the Service Purchase Item record to update.
  • Additional Fields — Optional fields to update on the Service Purchase Item, including allocation price, amortization settings, accounts, classifications, descriptions, vendor info, and more.
  • Custom Fields — Custom fields to update on the record, supporting various types like boolean, dateTime, multiSelect, number, select, and string.
  • Debug Mode — Set to true to include full request and response information in the operation's output.

Output shape

a single record

Returns the updated Service Purchase Item record's data. If Debug Mode is enabled, the output includes detailed request and response information.

Examples

Example 1: Update a Service Purchase Item's display name and cost

Specify the record Id, set the displayName and cost fields under Additional Fields, and optionally enable Debug Mode for detailed output.

Discussion