NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inbound Shipment → Insert record

AI-generated

Summary

Create a new NetSuite inbound shipment record via the SuiteTalk REST API.

Inputs

  • isDebugMode — Include full HTTP request and response details in the node output for troubleshooting.
  • customFields — List of custom fields to add to the shipment; each must specify a field name, type, and value.
  • additionalFields — Optional standard inbound shipment properties such as dates, shipping details, items, and status; all are omitted if left unset.

Output shape

a JSON object containing the created inbound shipment record, including its internal ID and any fields returned by NetSuite. When Debug Mode is active, the output also contains the raw HTTP request and response.

The operation performs a POST to /inboundShipment. If the optional Prefer header is set to 'respond-async', the request may be processed asynchronously and the node will return the initial 202 response with a location header. All provided fields are sent in the request body; unspecified fields are omitted.

Examples

Example 1: Create a minimal inbound shipment with only an external document number and a single item.

isDebugMode=false; additionalFields.externalDocumentNumber='ABC123'; additionalFields.items[0].shipmentItem.id='594'; additionalFields.items[0].quantityReceived=10;

Example 2: Create an inbound shipment with custom fields for custom date and boolean flag.

isDebugMode=false; customFields[0].fieldName='custbody_delivery_date'; customFields[0].fieldType='dateTime'; customFields[0].value='2024-08-01T00:00:00Z'; customFields[1].fieldName='custattr_priority'; customFields[1].fieldType='boolean'; customFields[1].value=true;

Example 3: Insert a shipment and review request/response debug output.

isDebugMode=true; additionalFields.shipmentNumber='INV-2024-001'; additionalFields.shipmentStatus.id='toBeShipped';

Discussion