HomeTutorialsAPI ReferenceChangelog
Log In
API Reference

Create a new customer

Creates a new customer.

🔒 Requires: customers:write scope

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string | null
required

Customer's first name.

string | null
required

Customer 's last name.

string

Customer code used for claiming loyalty.

string

Customer group ID.

boolean
string | null

Customer's email address.

string | null

Customer note.

string | null

Customer's gender. Can be M, F or null.

string

Birthday.

string | null

Company name.

boolean
Defaults to false

Indicates whether the customer opted out of email communications.

boolean
Defaults to false

Indicates whether the customer opted in to SMS communications.

string | null

Phone no.

string | null

Mobile phone no.

string | null

Fax no.

string | null

Twitter handle.

string | null

Website URL.

string | null

Physical address, line 1.

string | null

Physical address, line 2.

string | null

Physical address, suburb.

string | null

Physical address, city.

string | null

Physical address, post code.

string | null

Physical address, state.

string | null

Physical address, country code.

string | null

Postal address, line 1.

string | null

Postal address, line 2.

string | null

Postal address, suburb.

string | null

Postal address, city.

string | null

Postal address, post code.

string | null

Postal address, state.

string | null

Postal address, country code.

string | null

Custom field 1. Can be used to store random data.

string | null

Custom field 2.

string | null

Custom field 3.

string | null

Custom field 4.

double | null

Customer's OnAccount Limit.

string | null

Customer's tax ID.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

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