Customers

Add a customer

Note: setting send_email to true will send an email to the customer prompting them to create a password

post/api/v1/customers

Request body

email_addressstring email nullable
first_namestring required
last_namestring required
order_countinteger
loyalty_pointsnumber double
created_datestring date-time
modified_datestring date-time
last_login_datestring date-time
last_login_attempt_datestring date-time
lockedboolean
locked_datestring date-time nullable
locked_end_datestring date-time nullable
is_subscribed_to_newsletterboolean
send_emailboolean

Response

The added Customer

metaobject nullable
errorsobject nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.