Login

POST {{url}}/auth/login

Logs the user in with the provided customerId, email and password, and returns a token.

Request Body

{"customerId"=>"00000000-0000-0000-0000-000000000000", "email"=>"test@email.com", "password"=>"password"}

RESPONSES

status: OK

{"token":"eyJqdGkiOiI2YTI3MzI0Yi01ZjhmLTQzNDAtOTA5ZC02MmE4MDAzOGYxNGIiLCJlbWFpbCI6ImFkbWluQGVtYWlsLmNvbSIsIm5hbWUiOiJTTUEgQWRtaW4iLCJjdXN0b21lcklkIjoiMmI3MTMxZDUtODc4ZS00NmQwLTg2ZjgtNzJkZDc3ZjlkZDliIiwiY3VzdG9tZXJOYW1lIjoiU01BIFRlY2hub2xvZ2llcyIsInJvbGVzIjoiQWRtaW4iLCJleHAiOjE2ODg2NjE3NjEsImlzcyI6IlNNQSIsImF1ZCI6InJlc3RhcGkifQ"}