NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inventory Transfer → Insert or update record

AI-generated

Summary

Create or update an inventory transfer record in NetSuite using its external ID.

Inputs

  • isDebugMode — Include full request and response details in the output for troubleshooting.
  • id (required) — External identifier of the inventory transfer to update; used in the URL path.
  • additionalFields — Standard and optional fields for the inventory transfer, such as transaction dates, location, memo, inventory items, custom forms, and other transaction properties.
  • customFields — Array of custom field definitions (field name, type, value) that should be applied to the record.

Output shape

a single record object representing the updated inventory transfer, or, if isDebugMode is true, an object containing the request and response details

The returned record contains all fields that the NetSuite REST API returns for an inventory transfer. Pagination is not applicable for a single‑record update. Errors are thrown as node errors.

Examples

Example 1: Upload a new transfer from location A to B and set a memo

Set isDebugMode to false, id to "IT-00123", additionalFields transaction date, location IDs, memo, inventory items with adjustQtyBy.

Example 2: Update custom field 'ShipMethod' on an existing transfer

Set isDebugMode to false, id to "IT-00123", customFields with fieldName "ShipMethod", fieldType "select", value as internal ID.

Example 3: Debug an update that fails due to validation

Set isDebugMode to true, id to "IT-00123", include only the fields you wish to change; examine the debug output for request/response.

Discussion