NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Merchandise Hierarchy Version → Update record

AI-generated

Summary

Update a Merchandise Hierarchy Version record in NetSuite by specifying its internal identifier and providing the fields to change, including optional custom fields and sublist replacements.

Inputs

  • Id (required) — Internal identifier of the Merchandise Hierarchy Version record to update.
  • Additional Fields — Optional fields to update such as name, description, start and end dates, hierarchy levels, external and internal IDs, custom lists replacement preferences, and validation modes.
  • Custom Fields — Optional custom fields to update, supporting various types like boolean, dateTime, multiSelect, number, select, and string.
  • Authentication Method — Method of authentication to use with NetSuite, either OAuth1 or OAuth2; defaults to OAuth1.
  • Debug Mode — Option to include full request and response information in output for debugging purposes.

Output shape

a single updated record object reflecting changes made

The response includes the updated Merchandise Hierarchy Version record. If Debug Mode is enabled, full request and response details are also included. This operation updates the record asynchronously if specified with the 'Prefer' parameter. Custom fields and sublists can be specifically replaced or updated as per parameters.

Examples

Example 1: Update a Merchandise Hierarchy Version with a new name and description

Set Id to target the record; set Additional Fields 'name' and 'description' with new values.

Example 2: Update custom field and replace sublists

Set Id, provide custom fields with their types and values, and specify sublist names to replace using the 'replace' parameter.

Links

Discussion