NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Price Level → Insert record

AI-generated

Summary

Insert a new Price Level record in NetSuite using specified fields, including optional custom fields and various additional properties to control record creation and validation behavior.

Inputs

  • Debug Mode - isDebugMode: Whether to include full request and response details in the output. — Enables detailed output of the API request and response for troubleshooting.
  • Additional Fields - additionalFields: Optional properties for the Price Level record such as External ID, Internal ID, Name, Inactive status, Markup/Discount percentage, and preferences for async execution and validation strictness. — Configure properties like 'Name' (required for identifying the price level), 'Inactive' (to deactivate the price level), and 'Markup/Discount %' to adjust pricing. Fields for controlling request behavior (e.g., 'Prefer' for async execution and idempotency keys) are also included.
  • Custom Fields - customFields: A collection of user-defined custom fields with various types (Boolean, DateTime, Multi Select, Number, Select, String) to set additional attributes on the Price Level record. — Allows setting multiple custom fields by specifying their field names, types, and values.

Output shape

a single record representing the newly created Price Level, including all fields sent to NetSuite and any response metadata.

If Debug Mode is enabled, output will include full request and response information. Asynchronous request execution is supported via the 'Prefer' header. Validation strictness for property names and values can be controlled via additional fields. Errors in creation will surface accordingly.

Examples

Example 1: Create a new price level with a name and discount percentage

Set 'Name' in Additional Fields to specify the price level name; set 'Markup/Discount %' to apply a discount or markup to the base price.

Discussion