Skip to content

Commit c44e3fc

Browse files
authored
add: docs for birthday (ui#203)
* add: docs for birthday * add: example cURL
1 parent c137f89 commit c44e3fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/klg_api.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ email No Email
262262
mobile_number No Mobile number
263263
gender No Gender
264264
address No Address
265+
birthday No Birthday (with format YYYY-MM-DD)
265266
district No District ID
266267
phone_is_verified No Boolean
267268
email_is_verified No Boolean
@@ -272,7 +273,7 @@ Example of API call request using cURL
272273

273274
.. code-block :: bash
274275
275-
$ curl -X POST -H "Content-Type: application/json" https://stamps.co.id/api/klg/legacy/members/activate -i -d '{ "token": "secret", "user": 12, "merchant_id": 1, "bonus_stamps": 10, "passkey": "", "with_passkey": false, "new_password": "password", "pin": "123123", "confirm_pin": "123123" }'
276+
$ curl -X POST -H "Content-Type: application/json" https://stamps.co.id/api/klg/legacy/members/activate -i -d '{ "token": "secret", "user": 12, "merchant_id": 1, "bonus_stamps": 10, "passkey": "", "with_passkey": false, "new_password": "password", "pin": "123123", "confirm_pin": "123123", "birthday": "1993-05-30" }'
276277
277278
278279
B. Response

0 commit comments

Comments
 (0)