User Information
GET {{baseUrl}}/oauth2/user/info
This endpoint allows you to fetch User information based on the Access Token you have received, with a detailed response showcasing Store information.
💡 Note
✅ The
ID,name,mobileandroleare the information of the user who authorized the app to be installed and it is not always the store owner as it can be one of the store team.
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"status":"\u003cnumber\u003e","success":true,"data":{"id":"\u003cnumber\u003e","name":"\u003cstring\u003e","email":"\u003cstring\u003e","mobile":"\u003cstring\u003e","role":"team","created_at":"\u003cstring\u003e","merchant":{"id":"\u003cnumber\u003e","username":"\u003cstring\u003e","name":"\u003cstring\u003e","avatar":"\u003cstring\u003e","store_location":"\u003cstring\u003e","plan":"\u003cstring\u003e","status":"\u003cstring\u003e","domain":"\u003cstring\u003e","tax_number":"\u003cstring\u003e","commercial_number":"\u003cstring\u003e","created_at":"\u003cstring\u003e"}}}