Auth

Switch the current dashboard merchant context.

post/auth/switch-merchant

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/auth/switch-merchant
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Request body

merchant_idstring required

Example request

{
  "merchant_id": "merchant_demo"
}

Response

Authenticated user

tokenstring
user_idstring
emailstring
merchant_idstring
rolestring

Changes