Resello REST API Documentation

PUT customer/[customer_id]

Updates the specified customer. Using this command you can only update the ‘is_receiving_support_notifications’ setting.

Resource URL

https://backoffice.hostcontrol.com/api/v1/customer/[customer_id]

Parameters

Parameter Required? Description Example value
is_receiving_support_notifications required Does the customer have to receive support notifications? false

Example request


PUT    https://backoffice.hostcontrol.com/api/v1/customer/35

PUT Data

{
    "is_receiving_support_notifications": false
}

Result

{
    "result": {
        "is_enabled": true,
        "updated": "2013-10-22T11:46:14.077236+00:00",
        "is_dns_management_enabled": true,
        "created": "2013-10-22T11:46:14.077191+00:00",
        "primary_contact": {
            "city": "Groningen",
            "fax": "",
            "voice": "+31.612345678",
            "updated": "2013-10-22T11:46:14.084454+00:00",
            "name": "John Doe",
            "created": "2013-10-22T11:46:14.084419+00:00",
            "gender": null,
            "organisation": "",
            "extra": {},
            "zipcode": "1234AA",
            "email": "john@doe.com",
            "state": "Groningen",
            "address": "Street 123",
            "domains": [],
            "vat_number": null,
            "country": {
                "code": "NL",
                "name": "Netherlands"
            },
            "type": "primary",
            "id": 55
        },
        "is_receiving_support_notifications": false,
        "is_ns_management_enabled": true,
        "is_verified": true,
        "id": 35
    },
    "success": true
}