Create a new customer

Creates a new customer.

Body Params
string
required

The customer's first name.

string
required

The customer's last name.

string
required

The customer's email address.

string
required

Password for the customer's account.

boolean

Indicates whether the customer is a trade customer.

integer

The ID of the trade group the customer belongs to, only for trade customers.

boolean

Indicates whether the customer account is active, only for trade customers.

boolean

Indicates if the trade customer has a credit account, only for trade customers.

float

Global discount percentage for the trade customer's account, only for trade customers.

float

Cost price multiplier for the trade customer, only for trade customers.

string

Company name associated with the customer account.

string

The customer's primary phone number.

string

The customer's mobile phone number, only for trade customers.

string

The customer's website URL, only for trade customers.

string

The customer's VAT registration number, only for trade customers.

boolean

Indicates whether the customer accepts marketing communications.

string

The first line of the customer's address.

string

The second line of the customer's address.

string

The third line of the customer's address.

string

The customer's city.

string

The customer's county or province (non-US only).

string

The customer's postcode.

integer

The customer's country code.

integer

The customer's state code (US only).

string

Internal notes about the customer.

additionalData
object

Additional custom data fields, only for trade customers.

integer

The customer's reward points balance.

Responses

400

Invalid request data.

401

Unauthorized. Invalid or missing API key.

500

Server error.

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json