NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Merchandise Hierarchy Level → Insert or update record

AI-generated

Summary

Insert or update a Merchandise Hierarchy Level record in NetSuite by specifying its external ID and optional fields.

Inputs

  • id (required) — External identifier for the Merchandise Hierarchy Level record to insert or update.
  • additionalFields — Optional fields such as description, external ID, insert-before position, internal ID, name, rank (read-only), reference name, replace sublists, validation settings, and idempotency key to customize the record.
  • customFields — List of custom fields with their names, types, and values to set on the Merchandise Hierarchy Level record.
  • authMethod — Authentication method to use, either OAuth1 (default) or OAuth2.
  • isDebugMode — Flag to include full request and response information in the output for debugging purposes.

Output shape

a single record response representing the inserted or updated Merchandise Hierarchy Level, with optional debug information if enabled.

The operation requires the external ID parameter to target the record. Optional custom fields and additional standard fields can be set. The 'Prefer' header allows asynchronous operation. Debug mode adds detailed HTTP request/response info to output. Errors include validation options to control strictness. Returned data aligns with NetSuite REST API's response for upsert on this resource.

Links

Discussion