Authorization: Digest username=guest, realm="test", nonce="2", uri="/uri", response="***"
{ "external_id": "{% faker datatype.uuid %}", "firstname": "John", "middlename": "", "lastname": "Due", "email": "[email protected]", "phone": "+905071112233", "gender": "M", "identity_number": "12345677938", "birthdate": "1970-01-31" }
curl --location -g --request PATCH 'https://api.staging.mintedconnect.com/partner/customer/MTD0018232' \ --header 'api-version: 2' \ --header 'api-version;' \ --header 'x-client-id;' \ --header 'Accept-Language: tr' \ --header 'Content-Type: application/json' \ --data-raw '{ "external_id": "{% faker datatype.uuid %}", "firstname": "John", "middlename": "", "lastname": "Due", "email": "[email protected]", "phone": "+905071112233", "gender": "M", "identity_number": "12345677938", "birthdate": "1970-01-31" }'
{ "data": { "external_id": "MDT123233", "firstname": "John", "middlename": "", "lastname": "Due", "fullname": "John Due", "email": "[email protected]", "phone": "+905071112233", "gender": "M", "identity_number": "1234567888", "birthdate": "1970-01-31" }, "success": true, "code": 0, "message": "" }