Create customer

View as Markdown

Authentication

Authorizationstring
API Key authentication via header

Request

This endpoint expects an object.
namestringRequired
Preferred company name
companyNamestringOptional
Legal company name
primaryBillingContactEmailstringOptional
Email of primary billing contact
billingAddressobjectOptional
Customer's billing address
shippingAddressobjectOptional
Customer's shipping address
defaultCurrencyenumOptional
Default currency code for the customer, if omitted will default to USD
customFieldslist of objectsOptional

Custom fields to pass during customer creation (NetSuite only). Each field key should match the internal field id.

customerTaxInfoobjectOptional
Customer tax information

Response

Created customer

Errors

500
Internal Server Error