|Support Center

Ezpizee API documentations and guides

Learn the basics and more, from API authentication to error handling, customizable cart integration and available how-to guides.

User

User Details

GET{{schema}}{{hostname}}/api/user/me

This endpoint is used to retrieve authenticated or logged in user's details, including client_id, client_secret, Ezpizee installed apps, etc.
NameDescription
Header
Content-Typeapplication/json
App-NameMy Ezpizee App Demo
Authorization{{token}} {base64_encode of client_id:client_secret}
Response
{ "status": "OK", "message": "SUCCESS", "code": 200, "data": { "id": "1", "client_id": "1b8aae0e24c06bec45776e4eca91ccac", "client_secret": "1bcf9690aeb81a06ff79469ea0a32adc", "email": "[email protected]", "cellphone": "+855962553683", "state": "0", "created": "16-06-2020 26:08:40", "modified": "1592296000", "space": [], "profile": [ { "user_id": "1", "profile_key": "firstname", "profile_value": "Sothea", "ordering": "0" }, { "user_id": "1", "profile_key": "lastname", "profile_value": "Nim", "ordering": "1" }, { "user_id": "1", "profile_key": "dateofbirth", "profile_value": "February 01, 1978", "ordering": "2" }, { "user_id": "1", "profile_key": "company", "profile_value": "Ezpizee Co., Ltd", "ordering": "3" }, { "user_id": "1", "profile_key": "title", "profile_value": "Developer", "ordering": "4" } ], "installed_apps": [ { "id": "1", "app_name_md5": "0b95c406706dc2c5c97b4996134e7798", "app_name": "My Electron App Demo", "user_agent": "Ezpizee Web / 1.0", "app_version": "0.0.1", "store_id": "1", "created": "1592545441", "client_id": "Ezpizee Web" }, { "id": "26", "app_name_md5": "725ce61dadac378114184a0d93970063", "app_name": "Ezpizee Main Store", "user_agent": "Ezpizee Web/1.0", "app_version": "", "store_id": "0", "created": "1614513661", "client_id": "Ezpizee Web" }, { "id": "3", "app_name_md5": "80df64fc2f5f0991f2bde2874e570091", "app_name": "Ezpizee App - AEM Demo", "user_agent": "Ezpizee Web / 1.0", "app_version": "0.0.1", "store_id": "0", "created": "1594155594", "client_id": "Ezpizee Web" } ], "groups": [], "nickname": "Sothea", "api_host": "https://local-api.ezpizee.com/" }, "debug": null, "total": 0, "queries": [] }