NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Purchase Order → Update record

AI-generated

Summary

Update an existing Purchase Order record in NetSuite by specifying its internal Id and modifying desired fields, including standard, additional, and custom fields.

Inputs

  • Id (required) — The internal identifier of the Purchase Order record to update.
  • Additional Fields — Optional collection of fields to update on the Purchase Order, such as accounting details, addresses, dates, status, items, shipping info, and more.
  • Custom Fields — Optional list of custom fields with field name, type, and value to update on the Purchase Order.
  • Debug Mode — Whether to include full request and response information in the operation output for debugging purposes.

Output shape

a single updated Purchase Order record object returned by the NetSuite REST API.

The output includes the updated Purchase Order data. If Debug Mode is enabled, full API request and response details are also included. The update is performed via a PATCH request to /purchaseOrder/{id} endpoint, and the operation supports asynchronous execution preferences and idempotency keys if provided.

Discussion