NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Work Order → Update record

AI-generated

Summary

Update a Work Order record in NetSuite identified by its internal Id, modifying specified fields including standard and custom fields.

Inputs

  • Id (required) — The internal identifier of the Work Order record to update.
  • Additional Fields — A collection of optional fields to update on the Work Order, such as Accounting Book Detail, Assembly Item, Class, Dates, Department, Discount, Entity, External ID, Firmed status, Items, Location, Memo, Order no., Order Status, Originator, Quantity, Subsidiary, Terms, and various other standard record fields.
  • Custom Fields — One or more custom fields to update on the Work Order, specifying the field name, type, and value.
  • Debug Mode — Whether to include full request and response information in the output for debugging purposes.

Output shape

a single record representing the updated Work Order, including any fields returned by NetSuite's REST API update response.

The output may include detailed request and response information if Debug Mode is enabled. The update allows partial modification of the Work Order; only provided fields are updated. Custom fields can be specified with their type and value. The operation supports advanced options such as idempotency keys and validation strictness through headers passed as additional fields.

Examples

Example 1: Update the Quantity and Memo fields of a Work Order with Id=12345

Set Id to 12345, Additional Fields Quantity to the desired value, and Memo to a note. Disable Debug Mode if full request info is not needed.

Example 2: Update custom boolean and string fields on a Work Order

Set Id to the Work Order's internal Id, add entries under Custom Fields with appropriate field names, types (e.g., boolean, string), and values.

Discussion