NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Promotion Code → Insert record

AI-generated

Summary

Inserts a new Promotion Code record into NetSuite using the REST API with configurable authentication and detailed promotion parameters.

Inputs

  • Debug Mode — Boolean indicating whether to include full request and response information in the output.
  • Authentication Method — Method of authentication to use for the API request, either OAuth1 or OAuth2.
  • Name (required) — The internal name for the promotion for reporting and internal use.
  • Coupon Code — The coupon code that customers enter to apply the promotion; can be single or multiple use.
  • Additional Fields — A collection of optional fields to further configure the promotion code, including discount details, dates, audience, code patterns, applicability, and other promotion settings.
  • Custom Fields — Custom fields specific to the Promotion Code record type that can be set by the user.

Output shape

A single record object representing the created Promotion Code with its assigned identifiers and properties as returned by NetSuite.

The output includes the newly created promotion code's data. If Debug Mode is enabled, the response will include full request and response details. Operation supports idempotency keys and validation strictness options.

Links

Discussion