NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Gift Certificate Item → Insert or update record

AI-generated

Summary

Insert or update a Gift Certificate Item record in NetSuite by specifying its external identifier and providing various optional fields and custom fields to define its properties.

Inputs

  • Id (required) — External identifier of the Gift Certificate Item to insert or update.
  • Additional Fields — Optional fields to specify properties of the Gift Certificate Item, such as billing schedule, pricing, descriptions, and classifications.
  • Custom Fields — List of custom fields to set on the Gift Certificate Item, with support for multiple data types.
  • Debug Mode — Whether to include full request and response information in the operation output for debugging purposes.
  • Authentication Method — Specifies whether to use OAuth1 or OAuth2 for authentication.
  • X - Net Suite - Idempotency - Key — A unique idempotency key to ensure asynchronous requests execute only once.
  • X - Net Suite - Property Name Validation — Sets strictness level for property name validation on the request.
  • X - Net Suite - Property Value Validation — Sets strictness level for property value validation on the request.
  • Prefer — Server behavior preference, such as asynchronous execution with 'respond-async'.

Output shape

a single record representing the created or updated Gift Certificate Item, optionally including full request and response details when Debug Mode is enabled

The operation requires the 'Id' parameter to identify the record. Additional and custom fields are optional and can be used to specify or modify the item's properties. The response includes the updated record data. Enabling Debug Mode adds full request and response information to the output for troubleshooting. Idempotency key and validation options affect request handling and validation behavior.

Examples

Example 1: Insert a new Gift Certificate Item with basic and custom fields

Set 'Id' to the external ID of the new item, fill in desired additional fields (e.g., description, billing schedule), and define any custom fields as needed.

Example 2: Update an existing Gift Certificate Item with debugging enabled

Provide the 'Id' of the existing item, set fields to update in Additional Fields and/or Custom Fields, and enable Debug Mode to receive detailed request/response information.

Links

Discussion