NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Partner → Insert record

AI-generated

Summary

Insert a new Partner record into NetSuite using the REST API, specifying various partner details and optional settings.

Inputs

  • Authentication Method — Choose between OAuth1 or OAuth2 for authenticating API requests (default is OAuth1).
  • Auto — If true, allows NetSuite to auto-generate the partner name/number; otherwise, provide a manual name in Entity ID.
  • Entity ID — The partner's display name; required if Auto is false.
  • Company Name — The legal company name for the partner.
  • Is Individual — Specify whether the partner is an individual (true) or a company (false).
  • Email — Email address of the partner.
  • Phone — Phone number for the partner.
  • Alt. Email — Alternative email address for the partner.
  • Category — List of categories to associate with the partner, each identified by internal or external IDs.
  • Campaigns — List of marketing campaigns related to the partner.
  • Custom Fields — Custom fields with specified field name, type, and value to add to the partner record.
  • Comments — Additional notes about the partner.
  • Default Billing — Indicates if the partner's default billing address should be used.
  • Default Shipping — Indicates if the partner's default shipping address should be used.
  • Additional Fields — Additional details such as address book entries, phone, fax, subsidiary, location, and other optional partner attributes.
  • Debug Mode — If set to true, includes detailed request and response information in the node output for troubleshooting.

Output shape

a single record object representing the newly created Partner in NetSuite

The response includes the created partner details. If Debug Mode is enabled, debug information about the HTTP request and response is included. Authentication is required, and input parameters should conform to NetSuite API expectations to ensure successful insertion.

Examples

Example 1: Insert a new partner with a company name, email, and phone number, allowing NetSuite to auto-assign an ID.

Set 'Auto' to true, provide 'Company Name', 'Email', and 'Phone', and execute the operation.

Links

Discussion