NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Payment Item → Insert or update record

AI-generated

Summary

Insert a new Payment Item record or update an existing one by its external identifier in NetSuite via REST API.

Inputs

  • id (required) — External identifier of the Payment Item record to create or update.
  • additionalFields — Optional fields to include in the Payment Item, such as account, class, custom form, creation date, department, description, display name, external ID, grouping options, inactivity status, item name and type, location, payment method, subsidiary, translations, and other details.
  • customFields — Optional list of custom fields with specified field names, types, and their corresponding values to be included in the record.
  • X-NetSuite-Idempotency-Key — Optional unique idempotency key for asynchronous requests to ensure single execution.
  • X-NetSuite-PropertyNameValidation — Optional header to control strictness of property name validation (Error, Warning, Ignore).
  • X-NetSuite-PropertyValueValidation — Optional header to control strictness of property value validation (Error, Warning, Ignore).
  • Prefer — Optional server behavior preference, e.g., 'respond-async' to execute the request asynchronously.
  • replace — Comma-delimited names of sublists to replace entirely with those specified in the request.
  • replaceSelectedFields — Boolean flag to indicate if all deletable fields must be included in 'replace' when deleting fields in update.

Output shape

a single JSON object representing the created or updated Payment Item record response from NetSuite, optionally including full request and response details if debug mode is enabled.

Supports OAuth1 and OAuth2 authentication methods. Responses may include debug information if 'Debug Mode' is enabled. The record is identified by the provided external ID ('id'). Asynchronous execution can be requested with the 'Prefer' parameter and idempotency ensured with 'X-NetSuite-Idempotency-Key' for async calls.

Links

Discussion