Get Profile
The following is the method for topping up points to the customer.
Request URL
url
GET https://api.zrmz.app/api/v1/customer/profileRequest Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | String | ✅ | The access token received from Customer Login. |
Request Example
sh
curl -X GET 'https://api.zrmz.app/api/v1/customer/profile' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {access_token}'Response
| Name | Type | Description |
|---|---|---|
| id | String | Customer ID |
| customer_no | String | Customer No |
| first_name | String | First name |
| last_name | String | Last name |
| phone_number_country_code | String | Phone numebr country code |
| phone_number | String | Phone number |
| String |
Example
json
{
"id": "d3875937-1f9f-4f90-87b2-1092846b6b1e",
"customer_no": 1,
"first_name": "John",
"last_name": "Doe",
"phone_number_country_code": "66",
"phone_number": "123456789",
"email": "john@doe.com"
}