Skip to main content
POST
/
alpha
/
merchant
/
customers
Register or get customer
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>"
}

Headers

Authorization
string
required

Your Auction Now API key as a Bearer token

Example:

"Bearer ak_XXXXXXX"

Body

application/json
data
object
required

Input data for registering a customer

Response

Existing customer returned

data
object
required

The customer record

timestamp
number
required
message
string