NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Price Book → Insert record

AI-generated

Summary

Insert a new Price Book record in NetSuite by specifying its properties and optional subfields, including custom fields and price intervals.

Inputs

  • Authentication Method — Choose the authentication method for the request, either OAuth1 or OAuth2. Defaults to OAuth1.
  • Name — Provide a name to identify the Price Book. If left blank, NetSuite generates a name automatically upon saving.
  • Internal ID — Specify the internal ID for the Price Book record.
  • External ID — Specify the external ID for the Price Book record.
  • Currency — Provide currency details by internal or external identifier.
  • Custom Form — Assign a custom form using internal ID or reference name.
  • Price Interval — Define one or more pricing intervals, each with items, charge types, discounts, frequency, line numbers, price plans, proration, repeat intervals, start offsets, and requirement status.
  • Subscription Plan — Link a subscription plan using internal ID or external ID.
  • Reference Name — Provide a reference name for the Price Book.
  • Replace — Specify sublist names whose lines will be replaced entirely with provided lines.
  • Prefer — Indicate server behavior preference; use 'respond-async' for asynchronous execution.
  • X - Net Suite - Idempotency - Key — Use a unique idempotency key (UUID string) to ensure asynchronous requests execute only once.
  • X - Net Suite - Property Name Validation — Set the strictness level for property name validation (Error, Warning, Ignore).
  • X - Net Suite - Property Value Validation — Set the strictness level for property value validation (Error, Warning, Ignore).
  • Custom Fields — Provide a list of custom fields with names, types, and corresponding values, supporting boolean, dateTime, multiSelect, number, select, and string types.
  • Debug Mode — Enable to include full request and response details in the output for debugging.

Output shape

a single JSON object representing the created Price Book record, inclusive of the record's properties and any identifiers returned by NetSuite

If Debug Mode is enabled, the output includes additional detailed information about the HTTP request and response; otherwise, only the main data is returned. The operation supports asynchronous request execution when 'Prefer' is set to 'respond-async'. Error responses include validation details if name or value validation options are configured.

Links

Discussion