NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Other Charge Purchase Item → Insert or update record

AI-generated

Summary

Insert or update an Other Charge Purchase Item record in NetSuite by specifying its external identifier and desired fields.

Inputs

  • id (required) — External identifier of the Other Charge Purchase Item to insert or update.
  • additionalFields — Optional fields to set or update on the Other Charge Purchase Item, such as allocation price, amortization details, vendor info, descriptions, currency, custom fields, and other configuration options.
  • customFields — Custom fields to include or update on the record, supporting multiple values and various data types (boolean, dateTime, multiSelect, number, select, string).
  • authMethod — Authentication method to use for the API request, either OAuth1 or OAuth2.
  • isDebugMode — Flag to include full request and response information in the node output for debugging purposes.
  • Prefer — Optional HTTP preference header setting; can specify 'respond-async' to execute the request asynchronously.
  • X-NetSuite-Idempotency-Key — A unique idempotency key for ensuring the request is executed only once in asynchronous mode.
  • X-NetSuite-PropertyNameValidation — Sets strictness level for property name validation: Error, Warning, Ignore, or unset.
  • X-NetSuite-PropertyValueValidation — Sets strictness level for property value validation: Error, Warning, Ignore, or unset.

Output shape

a single record representing the created or updated Other Charge Purchase Item, optionally including full request and response details if debug mode is enabled

Requires the external identifier (id) of the item. Supports setting extensive standard and custom fields. Supports idempotency and asynchronous operation via HTTP headers. Errors or warnings on property names and values can be controlled via options.

Examples

Example 1: Create or update an Other Charge Purchase Item with specified external ID and custom fields

Set 'id' to the item's external ID, fill 'additionalFields' and 'customFields' as needed, select authentication method, and optionally enable debug mode.

Links

Discussion