NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Inventory Adjustment → Insert or update record

AI-generated

Summary

Insert or update an Inventory Adjustment record in NetSuite by specifying its ID and providing fields to modify or create. Supports synchronous or asynchronous execution with detailed options for various inventory adjustment attributes, including custom fields and subsublists management.

Inputs

  • id (required) — External identifier of the Inventory Adjustment record to insert or update.
  • additionalFields — Optional collection of Inventory Adjustment fields such as account, class, cleared status, date fields, department, inventory items with detailed properties, location, memo, posting period, reference number, subsidiary, and other related attributes.
  • customFields — List of custom fields to set on the Inventory Adjustment record, supporting multiple types including boolean, dateTime, multiSelect, number, select, and string.
  • isDebugMode — If true, includes full HTTP request and response details in the operation output for debugging purposes.
  • authMethod — Authentication method to use for NetSuite REST API calls; options are OAuth1 (default) or OAuth2.
  • Prefer — Sets the server behavior to request asynchronous execution when set to 'respond-async'.
  • replace — Comma-separated names of sublists to be replaced entirely with lines specified in the update request.
  • replaceSelectedFields — If true, signals that all fields to be deleted must be included in the 'replace' query parameter for update requests.
  • X-NetSuite-Idempotency-Key — A unique key for idempotency to ensure single execution of asynchronous requests, ignored for synchronous calls.
  • X-NetSuite-PropertyNameValidation — Determines the strictness of property name validation; can be Error, Warning, Ignore, or unset.
  • X-NetSuite-PropertyValueValidation — Determines the strictness of property value validation; can be Error, Warning, Ignore, or unset.

Output shape

The updated or newly created Inventory Adjustment record object returned from NetSuite.

If 'Prefer' is set to 'respond-async', the operation executes asynchronously and returns a response indicating so. When 'isDebugMode' is enabled, the output includes detailed HTTP request and response information for troubleshooting. Custom fields and sublists can be managed using the respective inputs, and idempotency keys apply only to asynchronous requests.

Links

Discussion