NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Promotion Code → Update record

AI-generated

Summary

Update a specific Promotion Code record in NetSuite by its internal identifier, modifying its properties with specified fields and optional custom fields.

Inputs

  • Id (required) — The internal identifier of the Promotion Code record to update.
  • Additional Fields — Various optional fields to update on the Promotion Code, including discount details, audience, code pattern, dates, and other promotion configuration parameters.
  • Custom Fields — List of custom fields to update on the Promotion Code, each specified by field name, type, and value.
  • Debug Mode — Whether to include full request and response info in the output for debugging purposes.

Output shape

the updated Promotion Code record as returned by NetSuite's REST API, optionally enriched with debug information if enabled

The output includes the updated record's properties. If Debug Mode is enabled, full request and response details are included. The operation requires a single Promotion Code Id as input. Custom fields can be included for update as well. Multi-value collections and nested objects are supported for various promotion properties.

Discussion