# Update Merchants

## 8.2 Update Merchants

**Request**

| Method | URL                                         |
| ------ | ------------------------------------------- |
| PATCH  | /merchant/v1/update-merchant/{merchant\_id} |

Copy

```
{
  "name": "Updated Company Name",
  "website": "http://www.merchantwebsite.com",
  "email": "merchant744@example.com",
  "emailConfirmationToken": "s1ome_token",
  "emailConfirmationTokenExpireDate": "2023-01-25T12:00:00",
  "legalCompanyTitle": "Legal Title",
  "incomeIban": "TR124516789012345678901234",
  "businessType": "Retail",
  "businessInfo": "Business Inf1ormation",
  "onboardingStatus": "Completed",
  "companyType": "LLC",
  "taxOffice": "Tax Office",
  "taxNumber": "12345671890",
  "address": "Merchant Address",
  "phoneNumber": "+12345678190",
  "invoiceEmail": "invoice@example.com",
  "contactName": "Johnyy",
  "contactSurname": "Doe",
  "contactEmail": "contact@example.com",
  "contactPhoneNumber": "+1234567890",
  "settlementDelayCount": 7,
  "settlementPeriod": "Weekly",
  "threedsVerificationType": "SomeType",
  "autoItemApprovalEnabled": true,
  "dailyTransactionReportsEnabled": true,
  "skipPosAliasAccordingToRouterState": true,
  "threeDsCallbackKey": "callback_key",
  "webhookKey": "webhook_key",
  "logoUrl": "http://www.merchantlogo.com/logo.png",
  "singleInstallmentPosRoutingRule": "SomeRule",
  "successPaymentEnabled": true,
  "failurePaymentEnabled": true,
  "successRefundEnabled": true,
  "failureRefundEnabled": true,
  "successRefundTxEnabled": true,
  "failureRefundTxEnabled": true,
  "unresolvedNoResponseEnabled": true,
  "walletEnabled": true,
  "cardRegisterEnabled": true,
  "marketplaceEnabled": true,
  "payByLinkEnabled": true,
  "masterpassEnabled": true,
  "multicurrencyEnabled": true,
  "fraudCheckEnabled": true,
  "emailNotificationEnabled": true,
  "proactiveMonitoringEnabled": true,
  "autopilotEnabled": true,
  "crossBorderSettlementEnabled": true,
  "paymentInstitutionsEnabled": true,
  "apmsEnabled": true,
  "files": ["1", "file2"],
  "is_active": true
}
```

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | <p>{</p><p>"data": {</p><p>"merchant": {</p><p>"name": "Updated Company Name",</p><p>"is_active": true,</p><p>"createdDate": "2023-10-05T22:11:49.966993",</p><p>"deletedDate": null,</p><p>"id": 1,</p><p>"mobile_app": true,</p><p>"business_info": "Business Inf1ormation",</p><p>"subscription_enabled": false,</p><p>"updatedDate": "2024-01-26T12:03:53.635464"</p><p>},</p><p>"merchant_details": {</p><p>"legal_company_title": "Legal Title",</p><p>"phone_number": "+12345678190",</p><p>"createdDate": "1990-01-01T00:00:00",</p><p>"name": "Updated Company Name",</p><p>"income_iban": "TR124516789012345678901234",</p><p>"invoice_email": "invoice@example.com",</p><p>"website": "http://www.merchantwebsite.com",</p><p>"business_type": "Retail",</p><p>"contact_name": "Johnyy",</p><p>"deletedDate": null,</p><p>"onboarding_status": "Completed",</p><p>"contact_surname": "Doe",</p><p>"updatedDate": "2024-01-26T12:03:53.635464",</p><p>"email": "merchant744@example.com",</p><p>"company_type": "LLC",</p><p>"contact_email": "contact@example.com",</p><p>"tax_office": "Tax Office",</p><p>"contact_phone_number": "+1234567890",</p><p>"email_confirmation_token": "s1ome_token",</p><p>"tax_number": "12345671890",</p><p>"files": [</p><p>"1",</p><p>"file2"</p><p>],</p><p>"merchant_id": 1,</p><p>"id": 5,</p><p>"email_confirmation_token_expire_date": "2023-01-25T12:00:00",</p><p>"address": "Merchant Address"</p><p>},</p><p>"merchant_settings": {</p><p>"settlement_period": "Weekly",</p><p>"id": 1,</p><p>"threeds_verification_type": "SomeType",</p><p>"daily_transaction_reports_enabled": true,</p><p>"three_ds_callback_key": "callback_key",</p><p>"logo_url": "http://www.merchantlogo.com/logo.png",</p><p>"createdDate": null,</p><p>"deletedDate": null,</p><p>"settlement_delay_count": 7,</p><p>"merchant_id": 1,</p><p>"auto_item_approval_enabled": true,</p><p>"skip_pos_alias_according_to_router_state": true,</p><p>"webhook_key": "webhook_key",</p><p>"single_installment_pos_routing_rule": "SomeRule",</p><p>"updatedDate": "2024-01-26T12:03:53.635464"</p><p>},</p><p>"merchant_email_notification_settings": {</p><p>"failure_payment_enabled": true,</p><p>"id": 1,</p><p>"failure_refund_enabled": true,</p><p>"failure_refund_tx_enabled": true,</p><p>"createdDate": null,</p><p>"deletedDate": null,</p><p>"success_refund_enabled": true,</p><p>"success_payment_enabled": true,</p><p>"merchant_id": 1,</p><p>"success_refund_tx_enabled": true,</p><p>"unresolved_no_response_enabled": true,</p><p>"updatedDate": "2024-01-26T12:03:53.635464"</p><p>},</p><p>"merchant_features": {</p><p>"card_register_enabled": true,</p><p>"id": 1,</p><p>"pay_by_link_enabled": true,</p><p>"multicurrency_enabled": true,</p><p>"email_notification_enabled": true,</p><p>"autopilot_enabled": true,</p><p>"payment_institutions_enabled": true,</p><p>"createdDate": null,</p><p>"deletedDate": null,</p><p>"marketplace_enabled": true,</p><p>"merchant_id": 1,</p><p>"wallet_enabled": true,</p><p>"masterpass_enabled": true,</p><p>"fraud_check_enabled": true,</p><p>"proactive_monitoring_enabled": true,</p><p>"cross_border_settlement_enabled": true,</p><p>"apms_enabled": true,</p><p>"updatedDate": "2024-01-26T12:03:53.635464"</p><p>}</p><p>}</p><p>}</p> |
| 403    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| 400    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| 500    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |

[\
](https://hilals-organization.gitbook.io/magicpay-documentation/8.-merchants/8.1-create-merchants)
