Customers
Create Customer
Changed onCreates a customer by email, or returns the existing customer with that email. The newsletter fields only apply to a newly created customer; when "created" is false, use the Set Customer Newsletter endpoint to change it.
post/v1/shops/{shopId}/customers
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"email": "buyer@example.com"
}Changes
- warning
removed the request property
- info
added the new optional request property
- info
added the new optional request property
- warning