NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Price Level → Insert or update record

AI-generated

Summary

Insert a new Price Level record or update an existing one in NetSuite by specifying its external ID and desired field values.

Inputs

  • id (required) — External identifier of the Price Level record to insert or update.
  • additionalFields — Optional fields to include such as External ID, Internal ID, record Inactive status, Last Modified Date, Price Level name, discount percentage, and update preferences.
  • customFields — Optional list of custom fields with type and value to be included in the Price Level record.
  • isDebugMode — Flag to include full request and response details in the output for debugging.
  • authMethod — Authentication method to use, either OAuth1 or OAuth2.

Output shape

a single record containing the response from the NetSuite REST API for the inserted or updated Price Level including any debug information if enabled

The operation uses an HTTP PUT request to the /priceLevel/{id} endpoint with the specified ID as the external key. Optional request headers allow control over server behavior, validation strictness, and idempotency for async requests. If Debug Mode is enabled, the output contains full request and response details alongside the result.

Examples

Example 1: Insert a new Price Level with a specified external ID and name

Set 'id' to the external ID, provide a 'name' in Additional Fields, and execute.

Example 2: Update an existing Price Level marking it inactive and applying a discount

Set 'id' to the existing record's external ID, check 'isInactive', and set 'discountPct' under Additional Fields, then execute.

Links

Discussion