NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Promotion Code → Get record

AI-generated

Summary

Retrieve a single Promotion Code record from NetSuite by its internal identifier.

Inputs

  • Id (required) — Internal identifier of the Promotion Code record to retrieve.
  • Debug Mode — Whether to include full request and response information in the output.
  • Authentication Method — Choose between OAuth1 or OAuth2 for authentication.
  • Additional Fields — Optional parameters allowing control over the returned fields such as expanding sub-resources, selecting specific fields, request preferences (like asynchronous execution), simple enumeration formatting, and idempotency key for asynchronous requests.

Output shape

a single Promotion Code record object with fields as specified or defaulted, optionally including expanded sublists and detailed debug information if enabled.

The response is limited to the Promotion Code record identified by the provided internal Id. Fields returned depend on the 'fields' parameter or expanded sub-resources if requested. When 'Debug Mode' is enabled, output includes full request and response details. Prefer asynchronous behavior can be requested via the 'Prefer' option. Errors are returned if the Id does not exist or the request fails.

Links

Discussion