NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Purchase Order → Insert record

AI-generated

Summary

Insert a new Purchase Order record in NetSuite using REST API with optional detailed fields and custom fields.

Inputs

  • isDebugMode — Toggle to include full request and response information for debugging.
  • authMethod — Select authentication method: OAuth1 or OAuth2.
  • additionalFields — Provide optional detailed fields for the purchase order, including accounting book details, addresses, items, and other metadata.
  • customFields — Specify custom fields with their names, types, and values to include in the purchase order.

Output shape

a single JSON object representing the newly created purchase order, including its details as returned by NetSuite's REST API.

If Debug Mode is enabled, the output includes full HTTP request and response details. The response structure conforms to NetSuite's Purchase Order representation and includes all fields sent and returned by the API.

Examples

Example 1: Create a purchase order with basic required data including vendor and items.

Set Purchase Order resource, Insert record operation, provide minimal fields like entity (vendor), item list, and optionally dueDate; set authentication method; enable 'Debug Mode' if detailed request/response info is needed.

Links

Discussion