NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Promotion Code → Insert record

AI-generated

Summary

Create a new Promotion Code record in NetSuite by specifying its properties and optional custom fields.

Inputs

  • isDebugMode — Enable to include full request and response details in the output.
  • additionalFields — Configure various optional fields for the promotion code such as code pattern, discount details, audience, start and end dates, usage type, and promotion behavior.
  • customFields — Provide any custom fields relevant to the Promotion Code record, with support for various data types.

Output shape

A single record object representing the newly created Promotion Code as returned by NetSuite's REST API.

The output includes the created Promotion Code's details. If debug mode is enabled, additional request/response information is included. Asynchronous execution preferences and idempotency keys can be specified but are optional.

Discussion