NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inbound Shipment → Update record

AI-generated

Summary

Patch an existing Inbound Shipment record in NetSuite, modifying any standard or custom fields specified in the input.

Inputs

  • id (required) — NetSuite internal identifier of the inbound shipment to update.
  • additionalFields — Object containing any standard Inbound Shipment fields to modify, e.g., shipmentStatus, expectedDeliveryDate, items, memo, billOfLading, etc. Nested collections such as items allow updating line items.
  • customFields — Array of custom field definitions (fieldName, fieldType, value) that should be added or updated on the record.
  • isDebugMode — If true, the node returns the full HTTP request and response objects for troubleshooting.

Output shape

A record object representing the updated Inbound Shipment. When Debug Mode is enabled, the output also contains the raw request and response details.

The API response returned by NetSuite contains the updated record data. If the update fails, an error is thrown. The output is a single object; n8n will expose fields of the updated record directly on the output node. When isDebugMode=true, the result object includes "response", "request", and other debug metadata.

Examples

Example 1: Change shipment status to received and set an actual delivery date

Resource: Inbound Shipment, Operation: Update record, ID: 45678, Additional Fields: { shipmentStatus: { id: "received" }, actualDeliveryDate: "2024-07-25T15:00:00Z" }.

Example 2: Enable debug mode to inspect the outgoing request and the API response

Resource: Inbound Shipment, Operation: Update record, ID: 12345, isDebugMode: true.

Example 3: Update a custom field on the shipment

Resource: Inbound Shipment, Operation: Update record, ID: 98765, Custom Fields: [{ fieldName: "x_custom_notes", fieldType: "string", value: "Updated via API" }].

Discussion