EZCart Docs
ApiV1StoreAuthRegister

Register a new customer with email and password

Register a new customer with email and password. If a customer with this email already exists (e.g., from a chat channel), the password will be linked to the existing account.

POST
/v1/store/auth/register

Request Body

application/json

name*string
Length1 <= length <= 200
email*string
Formatemail
password*string
Length8 <= length <= 128
phone?string

Response Body

application/json

curl -X POST "https://api-pub.ezcart.io/v1/store/auth/register" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "email": "[email protected]",    "password": "stringst"  }'
{
  "customerId": "string",
  "tokens": {
    "accessToken": "string",
    "refreshToken": "string",
    "expiresIn": 0
  }
}