NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Payment Item → Update record

AI-generated

Summary

Update an existing Payment Item record in NetSuite by specifying its internal ID and providing any desired fields to change, including built-in fields, custom fields, and additional parameters.

Inputs

  • id (required) — The internal identifier of the Payment Item record to update.
  • additionalFields — Optional fields of the Payment Item to update, including account, class, custom form, description, display name, external ID, inactive status, item name, item type, payment method, subsidiary, and translations among others.
  • customFields — List of custom fields to update on the Payment Item record, each including the field name, field type, and the value to set.
  • isDebugMode — Flag to include full request and response details in the output for debugging purposes.
  • authMethod — Authentication method to use, either OAuth1 or OAuth2. Defaults to OAuth1.
  • X-NetSuite-Idempotency-Key — User-defined unique idempotency key for asynchronous requests to ensure single execution.
  • X-NetSuite-PropertyNameValidation — Sets strictness level for property name validation in the request.
  • X-NetSuite-PropertyValueValidation — Sets strictness level for property value validation in the request.

Output shape

An object containing the updated Payment Item record data returned from NetSuite, optionally including full HTTP request and response info if Debug Mode is enabled.

The output contains the updated record details on success. If Debug Mode is enabled, full HTTP request and response information is appended for troubleshooting. Validation header options affect how property names and values are checked during the update operation. If asynchronous execution is requested (via headers), the idempotency key ensures exactly-once processing.

Examples

Example 1: Update the display name and inactive status of a Payment Item with internal ID 123.

Set 'id' to 123, provide 'additionalFields' with 'displayName' and 'isInactive', choose 'authMethod' as needed, and optionally enable 'isDebugMode' to get full request and response details.

Links

Discussion