Resello REST API Documentation

GET customer

Returns a list of customers, matching an optional email address.

Resource URL

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

Parameters

Parameter Required? Description Example value
email optional Finds customers with contacts filtered by email. info@resello.com

Example request


GET    https://backoffice.hostcontrol.com/api/v1/customer?email=info@resello.com

Result

{
    "result": [
        {
            "is_enabled": true,
            "updated": "2013-10-16T08:50:43.884851+00:00",
            "is_dns_management_enabled": true,
            "created": "2013-10-16T08:50:43.884828+00:00",
            "primary_contact": {
                "city": "Example City",
                "fax": null,
                "voice": "",
                "updated": "2013-10-16T08:50:43.886939+00:00",
                "name": "Example Customer",
                "created": "2013-10-16T08:50:43.886916+00:00",
                "gender": "male",
                "organisation": null,
                "extra": {},
                "zipcode": "1234AB",
                "email": "info@resello.com",
                "state": "Groningen",
                "address": "Street 1",
                "domains": [],
                "vat_number": null,
                "country": {
                    "code": "NL",
                    "name": "Netherlands"
                },
                "type": "primary",
                "id": 5
            },
            "is_receiving_support_notifications": true,
            "is_ns_management_enabled": true,
            "is_verified": true,
            "id": 5
        }
    ],
    "success": true
}