Enduser: Login request

Request a token of the enduser

Request

POST https://api.staging.nexway.build/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

Authorisation

This request requires the use of one of following authorisation methods: OAuth2.

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

Choose an authorisation method:

Access Token Access token to be used for request
Try it out!