NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Vendor → Transform to customer

AI-generated

Summary

Transform a Vendor record into a Customer record in NetSuite by specifying the Vendor's internal identifier and optionally providing additional customer-specific fields for the newly created Customer record.

Inputs

  • Id (required) — The internal identifier of the Vendor record to transform into a Customer.
  • Authentication Method — The method used for authentication, either OAuth1 or OAuth2. Defaults to OAuth1.
  • Debug Mode — Whether to include full request and response info in the output for debugging purposes.
  • Additional Fields — Optional customer-related fields to set on the Customer record created by the transform operation, such as billing info, contact details, credit limit, preferences, and more.

Output shape

a single record representing the newly created Customer resulting from the transformation of the specified Vendor, including optionally full debug information if enabled.

The operation requires the Vendor's internal ID and accepts numerous optional fields to customize the Customer record. If Debug Mode is enabled, the output will include full details of the HTTP request and response made to NetSuite's REST API.

Examples

Example 1: Transform Vendor with ID 123 into a Customer with default settings

Id=123, no additional fields, Debug Mode false

Example 2: Transform Vendor with ID 789 into a Customer with credit limit and contact info set, with Debug Mode enabled

Id=789, Additional Fields include creditLimit=50000, phone=123-456-7890, Debug Mode enabled

Links

Discussion