Enduser: Login request

Request a token (JWT) of the enduser

Request

POST https://api.nexway.store/endusers/public/login

Request body

The request body takes a complete LoginRequest resource, containing the following writable properties:

{
    "email": "string",
    "password": "string",
    "storeId": "string"
}

Properties

Name Type Description Additional
email string

End user email

password string

End user password

storeId string

Store id

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

Success

LoginResponse
404 Not Found

Not Found

500 Internal Server Error

Failure

Example

{
    "email": "test@gmail.com",
    "password": "itsasecret",
    "storeId": "a0253398-b0c5-4c2d-a15f-bd97ea4be608"
}

Explore this API

loginRequest

loginRequest

Request Content-Type
Response Content-Type
Try it out!