NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Purchase Requisition → Insert record

AI-generated

Summary

Insert a new Purchase Requisition record into NetSuite via REST API, allowing full specification of requisition fields and optional custom fields.

Inputs

  • Authentication Method — Choose the authentication method (OAuth1 or OAuth2) for API requests.
  • Additional Fields — Specify various optional details for the Purchase Requisition, including accounting book details, class, company ID, created from, currency, custom form, dates (transaction, created, modified, due, start, end), department, discount details, entity, expense and item lists, location, memo, originator, PO/check number, preferences for server behavior, reference names, replacement sublists, ship date, source, status, subsidiary, subtotal, terms, totals, tracking numbers, transaction number, vendor message, idempotency key, and property validations.
  • Custom Fields — Define additional custom field values for the Purchase Requisition, supporting various data types including boolean, dateTime, multi-select, number, select, and string.
  • Debug Mode — Enable to include full request and response information in the output for debugging purposes.

Output shape

a single JSON object representing the created Purchase Requisition record as returned by NetSuite's REST API

When Debug Mode is enabled, the output includes detailed request and response information in addition to the record data. The operation executes synchronously by default but can request asynchronous execution with the 'Prefer' field set to 'respond-async'. Custom fields can be included to extend standard record data. Errors or property validation strictness depend on specified optional headers.

Examples

Example 1: Create a purchase requisition with essential and additional fields

Set required core data such as vendor and item details; optionally specify department, memo, and custom form; enable debug mode if needed to trace request/response details.

Links

Discussion