NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Intercompany Transfer Order → Insert or update record

AI-generated

Summary

Create or modify an Intercompany Transfer Order record via NetSuite REST API. Provide a record body; include an external id to update an existing record, or leave it empty to create new.

Inputs

  • isDebugMode — Include full request and response data in output.
  • id — External identifier of the record to update. Omit to insert a new record.
  • additionalFields — Main Intercompany Transfer Order fields such as transaction number, memo, dates, subsidiaries, items, and other transaction attributes.
  • customFields — Custom fields defined for this resource, specified as field name, type, and value.

Output shape

a single record object returned by NetSuite, optionally wrapped with debug details when debug mode is enabled

When updating, all fields not provided are left untouched; when inserting, only provided fields are set. The response may include system fields like internal id, created date, or error information.

Examples

Example 1: Insert a new intercompany transfer order

Set isDebugMode to false, leave id empty, fill in transaction number, memo, transaction date, subsidiary, and add at least one item with quantity and item id.

Example 2: Update an existing intercompany transfer order

Set isDebugMode to false, provide external id in id field, add fields you want to change such as memo or status, leave other fields unchanged.

Example 3: Use debug mode to inspect request and response

Set isDebugMode to true to receive request payload, response status code, headers, and body along with the record data.

Discussion