Update or Create Customer

Creates a customer if they do not exist, or updates an existing one. Supports setting defaultPayToken (by token value) and defaultAddress (by address UUID).

Path Params
string
required

The merchant ID

string
required

The customer ID, UUID, or email address

Body Params
string | null

The email address of the customer. Must be longer than 3 characters and conform to RFC 2822.

string | null

The customer's first name.

string | null

The customer's last name.

string | null

The customer's phone number in E.164 format.

string | null

The customer's date of birth. Must be in YYYY-MM-DD format.

string

List of addresses associated with the customer

Headers
string
Response

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