Resello REST API Documentation

POST domain/[domain_name]/renew

Manualy renew a domain. Returns the new properties for a domain on success.

Resource URL

https://backoffice.hostcontrol.com/api/v1/domain/[domain_name]/renew

Parameters

interval | required | interval in months | 12

Example request


POST    https://backoffice.hostcontrol.com/api/v1/domain/exampledomainnnn.com/renew

POST Data

{
    "interval": 12
}

Result

{
    "result": {
        "status": "delivered",
        "updated": "2013-11-12T14:06:17.822580+00:00",
        "managed": false,
        "deleted": null,
        "expires": "2015-11-12T14:06:17.821674+00:00",
        "is_customer_manageable": true,
        "customer": {
            "is_enabled": true,
            "updated": "2013-11-11T12:57:55.860436+00:00",
            "is_dns_management_enabled": true,
            "created": "2013-11-11T12:57:55.860391+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": [
                    "exampledomainnnn.com",
                    "exampledomainnnnnn.com",
                    "iasdjoaisjdasoijd.com",
                    "testdomainnn.com"
                ],
                "vat_number": null,
                "country": {
                    "code": "NL",
                    "name": "Netherlands"
                },
                "type": "primary",
                "id": 55
            },
            "is_receiving_support_notifications": true,
            "is_ns_management_enabled": true,
            "is_verified": true,
           "id": 6
        },
        "name": "testdomainnn.com",
        "redirects": [],
        "created": "2013-11-12T14:06:17.822546+00:00",
        "is_privacy_protect_enabled": false,
        "interval": 12,
        "hosting": null,
        "renew": true,
        "tld": {
            "name": "com"
        }
    },
    "success": true
}