Ezpizee API documentations and guides
Learn the basics and more, from API authentication to error handling, customizable cart integration and available how-to guides.
Learn the basics and more, from API authentication to error handling, customizable cart integration and available how-to guides.
Name | Description |
---|---|
Header | |
Content-Type | application/json |
App-Name | {{app_name}} |
Authorization | Basic {base64_encode of client_id:client_secret} |
Response | |
{ "status": "OK", "message": "SUCCESS", "code": 200, "data": { "Session-Id": "E2B87648-E5E4-4241-8834-3C515F53221C", "token_uuid": "1C12AF3D-99E1-4CF5-A507-6E59B7A8E687", "grant_type": "bearer", "token_param_name": "AuthorizationBearerToken", "AuthorizationBearerToken": "{{token}}", "expire_in": 3600000, "roles": [ "app", "user" ], "user": { "id": "1", "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" } ], "groups": [], "nickname": "Sothea", "api_host": "https://local-api.ezpizee.com/", "subscription": { "id": "2", "numdays": "0", "description": "Free for all users and free forever.", "allow_trial": false, "number_of_trial_days": 0, "rule": { "num_products": 1000000, "auto_renew": true }, "price": 0, "currency": "USA", "product_id": [ "1" ], "expired_date": "0", "plan_id": "2", "reach_limit": false, "auto_renew": false, "plan_name": "Ez Basic", "plan": "ez_basic" } } }, "debug": null, "total": 0, "queries": [] } |