sayren Docs
Auth

Signup

POST
/storefront/v1/auth/signup
AuthorizationBearer <token>

회원 accessToken

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

email*string
Match^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
Formatemail
password*string
Length10 <= length
name*string
Length1 <= length <= 50
phone?string
Match^01[0-9]{8,9}$
agreements*
cartToken?string

Response Body

curl -X POST "https://example.com/storefront/v1/auth/signup" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com",    "password": "stringstri",    "name": "string",    "agreements": {      "terms": true,      "privacy": true    }  }'
Empty