Update contact

Request Information
URL PATCH {{basepath}}/contact/:id
CategoryREPP-Contact

Description

Allows you to update a contact

Expects a ContactUpdateRequest object.

Returns a ContactUpdateResponse object.

Url variables
:idMET_1k7060d648849686393b
JSON
{
    "postalInfo": {
        "type": "loc",
        "name": "Test User",
        "org": "Metaregistrar",
        "addr": {
            "street": [
                "Noothoven van Goorstraat 11E2"
            ],
            "city": "Gouda",
            "sp": "Zuid holland",
            "pc": "2806RA",
            "cc": "NL"
        }
    },
    "voice": "+31.12345679",
    "fax": "+31.12345678",
    "email": "john@metaregistrar.com",
    "property": [
        {
            "registry": "IisSe",
            "name": "orgno",
            "value": "[NL]MET_1k7060d648849686393b"
        }
    ],
    "crmId": "potaaaato",
    "metadata": {
        "blorp": true
    }
}

Example responses

Update contact
Request Method & URL
PATCH {{basepath}}/contact/:id
Request Body:
{
    "postalInfo": {
        "type": "loc",
        "name": "Test User",
        "org": "Metaregistrar",
        "addr": {
            "street": [
                "Noothoven van Goorstraat 11E2"
            ],
            "city": "Gouda",
            "sp": "Zuid holland",
            "pc": "2806RA",
            "cc": "NL"
        }
    },
    "voice": "+31.12345679",
    "fax": "+31.12345678",
    "email": "john@metaregistrar.com",
    "property": [
        {
            "registry": "IisSe",
            "name": "orgno",
            "value": "[NL]MET_1k7060d648849686393b"
        }
    ]
}
Url variables
:idMET_1k7060d648849686393b
Response Code:
200 OK
Response Body:
{
    "responseId": "mapi1_7302ad00f9e9240d483ad895a05c0002691e1adb",
    "status": "ok",
    "message": "Command completed successfully"
}