Update a customer’s name or email
cURL
curl --request PATCH \ --url https://api.auctionnow.io/api/alpha/merchant/customers/{customerId} \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "data": { "name": "<string>", "email": "jsmith@example.com" } } '
{ "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"
The unique ID of the customer
Input data for updating a customer
Show child attributes
Customer updated successfully
The updated customer record