API


13. Update Profile

Description : Update Profile API is used to update member profile.
URL : https://sandbox.goodie.id/api-rest/point-transaction/redemption/reward/redeem
Method : POST
Header :
No Key Value Requirement Description
1 Content-type application/x-www-form-urlencoded M Security Header
2 authToken String M authentication
3 deviceUniqueId String M Device Id

Body :
No Parameter Value Requirement Description
1 birthDate String M Member’s birthdate (yyyy-mm-dd)
2 firstName String O Member’s first name
3 Gender String O Member’s gender “F” or “M”
4 lastName String O Member’s last name
5 memberId String M Member’s id
6 merchantId String M Merchant’s id
7 phoneNumber String M Member’s phone number

JSON Format :

{
    "birthDate": "2012-12-12",
    "firstName": "Fitria",
    "gender": "F",
    "lastName": "Utami",
    "memberId": "CE38F7D7-23C4-4F81-B7B6-AA4B97567F20",
    "merchantId": "5F773EA1-1E66-4F9E-B9C8-E1FA8156AD20",
    "phoneNumber": "082233445566"
}
                        

Response :
No Parameter Value Description
1 Member
2 memberId String Member’s Id
3 firstName String Member’s first name
4 lastName String Member’s last name
5 birthdate String Member’s birthdate
6 phoneNumber String Member’s phone number
7 abstractResponse
8 responseStatus String See details**
9 responseMessage String See details**

JSON Format :

{
    "member": {
        "memberId": "7286385C-9DCE-4625-9367-15B4DBBF6C33",
        "firstName": "Sari",
        "lastName": "Inka",
        "birthDate": "2000-12-31",
        "gender": "F",
        "phoneNumber": "08118088824"
    },
    "abstractResponse": {
        "responseStatus": "MEM000",
        "responseMessage": "Update status member success"
    }
}