createCustomer

Tool Description

Creates a customer record in NetSuite.

Set the isperson parameter to 'T' if the customer is a person or to 'F' if the customer is a company. If the customer is a person, the firstname and lastname parameters are required. If the customer is a company, the companyname is required.

Annotation

Create Customer

Properties

Property

Type

Required or Optional

Description

subsidiary

string

Required

Subsidiary ID.

isperson

string

Required

Determines whether the customer is a person (T) or a company (F).

firstname

string

Required if isperson is T.

Customer's first name.

lastname

string

Required if isperson is T.

Customer's last name.

companyname

string

Required if isperson is F.

Customer's company name.

email

string

Optional

Customer's email address.

phone

string

Optional

Customer's phone number.

creditlimit

number

Optional

Customer's credit limit.

Permissions

Only user roles with the following permissions can see this tool in the AI client.

Permission ID

Permission Name

Level

TRAN_FIND

Find Transaction

VIEW

TRAN_CUSTINVC

Invoice

VIEW

TRAN_SALESORD

Sales Order

VIEW

LIST_CUSTJOB

Customers

EDIT

LIST_CONTACT

Contacts

VIEW

Related Topics

General Notices