POST
/v1/customersCreate or resolve a customer
Creates a customer or returns the existing customer matched by email. Supply email to identify the customer; repeating a request with the same email returns the existing customer.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Customer details used to create or resolve a customer.
emailstringrequired
The customer's email address, in a valid email format.
namestringoptional
The customer's name.
201Returns the created or matched customer in the `data` object.
dataobjectoptional
401Returned when the request is unauthenticated.
errorobjectoptional
Error handling
A 401 is returned when the request is unauthenticated. email is required and must be a valid email address.