> For the complete documentation index, see [llms.txt](https://magicpay.gitbook.io/magicpay-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://magicpay.gitbook.io/magicpay-documentation/members/update-member.md).

# Update Member

## 3.2 Update Member

Updates the member for the given merchant.

**Request**

| Method | URL                                 |
| ------ | ----------------------------------- |
| PUT    | /onboarding/v1/members/{member\_id} |

```
{
    "name": "Updated John Doe",
    "address": "456 Updated St, City",
    "phone_number": "9876543210",
    "identity_number": "09876543210",
    "contact_name": "Updated John123",
    "contact_surname": "Updated Doe",
    "sub_merchant_maximum_allowed_negative_balance": 200.0,
    "is_buyer": true,
    "is_sub_merchant": false,
    "member_type": "PERSONAL",
    "email": "deneme@gmail.com",
    "legal_company_title":"deneme",
    "tax_office":"",
    "tax_number":"",
    "iban":"TR123456789012345678901234",
    "settlement_earnings_destination":"WALLET"
}
```

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | <p>{</p><p>"data": {</p><p>"id": 1,</p><p>"createdDate": "2022-01-01T12:00:00",</p><p>"updatedDate": "2022-01-02T15:30:00",</p><p>"status": "Active",</p><p>"isBuyer": true,</p><p>"isSubMerchant": false,</p><p>"memberType": "Individual",</p><p>"memberExternalId": "external123",</p><p>"name": "Updated John Doe",</p><p>"address": "456 Updated St, City",</p><p>"email": "<john.doe@example.com>",</p><p>"phoneNumber": "9876543210",</p><p>"identityNumber": "09876543210",</p><p>"contactName": "Updated John",</p><p>"contactSurname": "Updated Doe",</p><p>"legalCompanyTitle": "Doe Enterprises",</p><p>"taxOffice": "City Tax Office",</p><p>"taxNumber": "1234567890",</p><p>"settlementEarningsDestination": "",</p><p>"iban": "TR123456789012345678901234",</p><p>"subMerchantMaximumAllowedNegativeBalance": 200.0</p><p>}</p><p>}</p> |
| 403    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| 400    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| 500    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |

[<br>](https://hilals-organization.gitbook.io/magicpay-documentation/3.-members/3.1-create-member)
