API
2. Register
Description : Register API is used when customer want to create an account in merchant portal.URL : https://sandbox.goodie.id/api-rest/member/profile/registration/
Method : POST
Header :
No | Key | Value | Requirement | Description |
---|---|---|---|---|
1 | Content-type | application/json | M | Security Header |
Body :
No | Parameter | Value | Requirement | Description |
---|---|---|---|---|
1 | userName | String | M | Member’s username |
2 | merchantId | String | M | Id of the merchant |
3 | phoneNumber | String | M | Member’s phone number |
4 | Password | String | M | Member’s password |
5 | firstName | String | M | Member’s first name |
6 | lastName | String | M | Member’s last name |
7 | deviceUniqueId | String | M | Unique device id |
8 | Birthdate | date | M | Member’s birthdate Format: YYYY-DD-MM |
9 | referralCode | String | O | Referral code for new member from other member |
JSON Format :
Response :
No | Parameter | Value | Description |
---|---|---|---|
1 | memberId | String | Member’s Id |
2 | referralPoint | Int | Point for new member |
3 | abstractResponse | ||
4 | responseStatus | String | see details** |
5 | responseMessage | String | see details ** |
JSON Format :