NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Purchase Order → Insert or update record

AI-generated

Summary

Insert or update a Purchase Order record in NetSuite by specifying its external identifier and desired fields, including optional custom fields and detailed address or item information.

Inputs

  • Id (required) — The external identifier of the Purchase Order record to insert or update.
  • Debug Mode — Enable to include full HTTP request and response details in the output for troubleshooting.
  • Additional Fields — Optional fields for the Purchase Order, such as billing and shipping addresses, items, dates, subsidiary info, and other extended properties.
  • Custom Fields — A list of custom fields with their field names, types, and values to populate on the Purchase Order record.

Output shape

A single record object representing the created or updated Purchase Order, including its fields and optionally debug information.

The output may include full request and response details if Debug Mode is enabled. Use the 'Id' input to target existing records; missing or new IDs will insert records. Custom fields must match existing NetSuite custom field identifiers.

Discussion