Resello REST API Documentation

GET customer/[customer_id]

Returns a specified customer.

Resource URL

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

Parameters

None

Example request


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

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
}