Resello REST API Documentation

GET order/[order_id]

Returns a specified order.

Resource URL

https://backoffice.hostcontrol.com/api/v1/order/[order_id]

Parameters

Parameter Required? Description Example value
order_id required Id of the order. 33

Example request


GET    https://backoffice.hostcontrol.com/api/v1/order/33

Result

{
   "result": {
      "customer": {
         "is_enabled": true,
         "updated": "2013-10-14T12:14:01.411341+00:00",
         "is_dns_management_enabled": true,
         "created": "2013-10-14T12:14:01.411298+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": 14
         },
         "is_receiving_support_notifications": true,
         "is_ns_management_enabled": true,
         "is_verified": true,
         "id": 13
      },
      "created": "2013-10-24T18:31:19.765344+00:00",
      "state": "new",
      "parts": [
         {
            "domain": {
               "name": "my-new-test-domain.nl"
            },
            "description": "my-new-test-domain.nl, 12 months\n",
            "last_error": null,
            "price": null,
            "interval": 12,
            "state": "pending",
            "is_privacy_protect_enabled": false,
            "type": "domain-register-order",
            "id": 16,
            "tld": {
               "name": "nl"
            }
         }
      ],
      "invoice": null,
      "type": "new",
      "id": 33
   },
   "success": true
}