NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inventory Adjustment → Update record

AI-generated

Summary

Patch an Inventory Adjustment record identified by its internal ID, replacing or adding fields as specified.

Inputs

  • debug mode — Include full request and response information in the output when enabled.
  • id (required) — Internal numeric identifier of the Inventory Adjustment to update.
  • additional fields — Optional fields of the Inventory Adjustment to set or update. Choose any of the provided sub‑fields such as account, date, memo, inventory items, location, postingPeriod, etc. Only fields supplied will be changed; others remain unchanged.
  • custom fields — List of custom fields to add or modify on the record. Specify the field name and its corresponding value, respecting the field type (boolean, date, number, string, etc.).

Output shape

a JSON object representing the updated Inventory Adjustment record, containing the fields returned by NetSuite after a successful patch request. The object includes the record’s internal ID, reference number, dates, and all updated fields.

If debug mode is on, the output also contains full HTTP request and response payloads under a debug property.

Examples

Example 1: Adjust the quantity of an item on an existing inventory adjustment

Set the id to 12345, enable Debug Mode, in Additional Fields choose Inventory → Items → newQuantity to 10 for the desired item. Optionally set a custom field 'Reconciled' to true.

Example 2: Mark an inventory adjustment as cleared

Set id to 67890, in Additional Fields set Cleared to true and Date Cleared to today’s date.

Example 3: Update the posting period of multiple adjustments

Use a batch node that passes each adjustment id; in Additional Fields set Posting Period → Internal identifier to the posting period ID to apply.

Discussion