NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Markup Item → Insert or update record

AI-generated

Summary

Insert or update a Markup Item record in NetSuite by specifying its external identifier and providing desired field values, enabling creation or modification of markup item data.

Inputs

  • id (required) — External identifier of the Markup Item to insert or update.
  • authMethod — Authentication method to use (OAuth1 or OAuth2). Defaults to OAuth1.
  • additionalFields — Optional fields to set on the Markup Item, such as account, description, rates, subsidiary, custom form, translations, and more.
  • customFields — Custom field values to include with the record, supporting various field types.
  • Prefer — Server behavior preference, e.g., 'respond-async' to execute asynchronously.
  • X-NetSuite-Idempotency-Key — Unique string key to ensure idempotent execution for asynchronous requests.
  • X-NetSuite-PropertyNameValidation — Controls strictness of property name validation (Error, Warning, Ignore).
  • X-NetSuite-PropertyValueValidation — Controls strictness of property value validation (Error, Warning, Ignore).
  • isDebugMode — Include full request and response details in output for debugging (default false).

Output shape

a single record object containing details of the inserted or updated Markup Item, including any server response and debugging info if enabled.

Supports specifying a large variety of fields for the Markup Item through 'additionalFields' and 'customFields'. The operation uses the provided external ID 'id' for the upsert action. If 'isDebugMode' is set, detailed HTTP request and response data are returned. Preferences like asynchronous execution can be set. Validation options affect error handling. Error envelopes and partial failures depend on NetSuite API response.

Links

Discussion