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 :
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 :