Skip to content

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/profile

Request Headers

NameTypeRequiredDescription
AuthorizationStringThe 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

NameTypeDescription
idStringCustomer ID
customer_noStringCustomer No
first_nameStringFirst name
last_nameStringLast name
phone_number_country_codeStringPhone numebr country code
phone_numberStringPhone number
emailStringEmail

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"
}