> 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/pos/update-pos-by-id.md).

# Update POS By Id

## 10.4 Update POS By Id

**Request**

| Method | URL                                   |
| ------ | ------------------------------------- |
| PUT    | /merchant/v1/merchant-poses/{pos\_id} |

Copy

```
{
    "name": "Updated Merchant POS Name",
    "clientId": "UpdatedClientId",
    "threedsKey": "UpdatedThreedsKey",
    "merchantPosUsers": [
        {
            "posUsername": "user1",
            "posOperationType": "OperationType1",
            "posUserType": "UserType1"
        },
        {
            "posUsername": "user2",
            "posOperationType": "OperationType2",
            "posUserType": "UserType2"
        }
    ],
    "mode": "Test",
    "hostname": "updated-example.com",
    "path": "/updated-payment",
    "threedsPath": "/updated-threeds",
    "enableForeignCard": true,
    "enableInstallment": true,
    "enablePaymentWithoutCvc": true,
    "orderNumber": 456,
    "port": 8080,
    "enabledPaymentAuthenticationTypes": [
        "AuthType1",
        "AuthType2"
    ],
    "supportedCardAssociations": [
        "MasterCard",
        "AmericanExpress"
    ]
}
```

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | <p>{</p><p>"data": {</p><p>"id": 18,</p><p>"status": "ACTIVE",</p><p>"name": "Updated Merchant POS Name",</p><p>"alias": "integrator\_value-18",</p><p>"posIntegrator": "integrator\_value",</p><p>"hostname": "updated-example.com",</p><p>"clientId": "UpdatedClientId",</p><p>"posCurrencyCode": "TRY",</p><p>"mode": "Test",</p><p>"path": "/updated-payment",</p><p>"port": "8080",</p><p>"threedsKey": "UpdatedThreedsKey",</p><p>"threedsPath": "/updated-threeds",</p><p>"forceThreeDs": "1958465",</p><p>"enableForeignCard": true,</p><p>"enableInstallment": true,</p><p>"enablePaymentWithoutCvc": true,</p><p>"newIntegration": false,</p><p>"orderNumber": "456",</p><p>"currency": "TRY",</p><p>"bankId": 1,</p><p>"bankName": "updated-example.com",</p><p>"isPf": false,</p><p>"merchantPosUsers": \[</p><p>{</p><p>"id": 15,</p><p>"posUsername": "Halim Demir",</p><p>"posUserType": "PERSONAL",</p><p>"posOperationType": ""</p><p>},</p><p>{</p><p>"id": 1,</p><p>"posUsername": "Subs",</p><p>"posUserType": "PERSONAL",</p><p>"posOperationType": ""</p><p>},</p><p>{</p><p>"id": 4,</p><p>"posUsername": "Hilal Balcı",</p><p>"posUserType": "PERSONAL",</p><p>"posOperationType": ""</p><p>},</p><p>{</p><p>"id": 73,</p><p>"posUsername": "-",</p><p>"posUserType": "PERSONAL",</p><p>"posOperationType": ""</p><p>}</p><p>],</p><p>"supportedCardAssociations": \[</p><p>"MasterCard",</p><p>"AmericanExpress"</p><p>],</p><p>"enabledPaymentAuthenticationTypes": \[</p><p>"AuthType1",</p><p>"AuthType2"</p><p>]</p><p>}</p><p>}</p> |
| 403    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| 400    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| 500    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |

[<br>](https://hilals-organization.gitbook.io/magicpay-documentation/10.-pos/10.3-get-pos)
