HomeTutorialsAPI ReferenceChangelog
Log In
API Reference

Create or update a customer

DEPRECATED This endpoint has a 2.0 equivalent. We recommend using that instead.

Returns a single new or updated customer object.

🔒 Requires: customers:write scope

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

New or updated customer attributes

uuid

Existing customer ID. If included in the POST request it will cause an update instead of a creating a new customer.

string

Short, unique customer code.

uuid

The ID of the customer group this customer is associated with.

string

Customer's first name.

string

Customer's last name.

string

Customer's company name.

string

Customer's phone number.

string

Customer's mobile phone number.

string

Customer's fax number.

string

Customer's email address.

string

Twitter handle.

string

Website URL.

string

Address, line 1 - physical.

string

Address, line 2 - physical.

string

Suburb - physical.

string

City - physical.

string

Post code - physical.

string

State - physical.

string

Country code - physical.

string

Address, line 1 - postal.

string

Address, line 2 - postal.

string

Suburb - postal.

string

City - postal.

string

Post code - postal.

string

State - postal.

string

Country code - postal.

int32

Indicates whether customer's purchases should incur loyalty. 0 or 1.

string

Customer's date of birth.

string

Customer's gender.

string

Custom field 1, able to store any data as a string.

string

Custom field 2, able to store any data as a string.

string

Custom field 3, able to store any data as a string.

string

Custom field 4, able to store any data as a string.

string

Customer related notes.

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