NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Service Purchase Item → Update record

AI-generated

Summary

Update a Service Purchase Item record in NetSuite by specifying its internal identifier and providing any fields to modify, including custom fields and additional optional parameters.

Inputs

  • Id (required) — Internal identifier of the Service Purchase Item to update.
  • Additional Fields — Optional fields to update on the Service Purchase Item, such as Allocation Price, Amortization Period, Currency, Description, Vendor, and many more as supported by the API.
  • Custom Fields — List of custom fields to update on the record, each with field name, type, and value.
  • Debug Mode — Whether to include full request and response info in the output for debugging purposes.
  • Authentication Method — Select the authentication method for the request, OAuth1 or OAuth2.
  • Prefer — Specify server behavior for asynchronous execution using 'respond-async'.
  • X - Net Suite - Idempotency - Key — Optional unique idempotency key for asynchronous requests to ensure single execution.
  • X - Net Suite - Property Name Validation — Control strictness of property name validation with options: Error, Warning, Ignore.
  • X - Net Suite - Property Value Validation — Control strictness of property value validation with options: Error, Warning, Ignore.

Output shape

a single updated record object representing the Service Purchase Item with its new state

Includes the updated Service Purchase Item data. If Debug Mode is enabled, also includes full HTTP request and response details. Supports asynchronous requests if 'respond-async' preference is set, requiring polling for completion externally.

Examples

Example 1: Update a Service Purchase Item's description and purchase price

Provide the 'Id' of the item, set 'Description' and 'Purchase Price' fields in Additional Fields.

Links

Discussion