Register a new customer or return the existing one if a customer with the same email already exists for this merchant
cURL
curl --request POST \ --url https://api.auctionnow.io/api/alpha/merchant/customers \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "data": { "email": "jsmith@example.com", "name": "<string>" } } '
{ "data": { "_id": "<string>", "_creationTime": 123, "email": "<string>", "name": "<string>", "userId": "<string>", "stripeCustomerId": "<string>" }, "timestamp": 123, "message": "<string>" }
Your Auction Now API key as a Bearer token
"Bearer ak_XXXXXXX"
Input data for registering a customer
Show child attributes
Existing customer returned
The customer record