Responses

  • 200 application/json

    Website Ordering details

    Hide response attributes Show response attributes object
    • step string Required

      Step description

    • website string Required

      Website description

    • period integer Required

      Period description

    • serviceOfferId integer Required

      Service offer ID description

    • packages object Required

      Schema for the packages field in WebsitesOrder

      Hide packages attribute Show packages attribute object
      • 11447 string Required

        Package description

    • enableDomainRegistering boolean Required

      Enable domain registering description

    • jsonServices object Required

      Schema for the jsonServices field in WebsitesOrder

      Hide jsonServices attribute Show jsonServices attribute object
      • 11447 string Required

        JSON services description

    • jsonServiceOffers object Required

      Schema for the jsonServiceOffers field in WebsitesOrder

      Hide jsonServiceOffers attribute Show jsonServiceOffers attribute object
      • 1026 array[object] Required

        Array of service offers

        Hide 1026 attributes Show 1026 attributes object
        • service_offer_id string

          Service offer ID

        • service_id string

          Service ID

        • intro_cost integer

          Introductory cost

        • renewal_cost integer

          Renewal cost

        • intro_frequency string

          Introductory frequency

        • renewal_frequency string

          Renewal frequency

        • allow_coupon string

          Allow coupon

        • service_module string

          Service module

        • created_at string

          Creation date

        • updated_at string

          Update date

        • deleted_at string

          Deletion date

        • currencySymbol string

          Currency symbol

    • serviceTypes object Required

      The service types data.

      Hide serviceTypes attribute Show serviceTypes attribute object
      • 11447 object Required
        Hide 11447 attributes Show 11447 attributes object
        • services_id string Required

          The ID of the service.

        • services_name string Required

          The name of the service.

        • services_cost string Required

          The cost of the service.

        • services_category string Required

          The category of the service.

        • services_buyable string Required

          Indicates if the service is buyable (1 for yes, 0 for no).

        • services_type string Required

          The type of the service.

        • services_field1 string

          Additional field 1 for the service.

        • services_field2 string

          Additional field 2 for the service.

        • services_module string Required

          The module of the service.

        • services_html

          HTML content for the service.

        • services_description

          Description of the service.

        • services_moreinfo_url

          URL for more information about the service.

        • services_hidden string Required

          Indicates if the service is hidden (1 for yes, 0 for no).

    • serviceOffers object Required

      The service offers data.

      Hide serviceOffers attribute Show serviceOffers attribute object
      • 1026 array[object] Required
        Hide 1026 attributes Show 1026 attributes object
        • service_offer_id string Required

          The ID of the service offer.

        • service_id string Required

          The ID of the associated service.

        • intro_cost string Required

          The introductory cost of the service offer.

        • renewal_cost string Required

          The renewal cost of the service offer.

        • intro_frequency string Required

          The introductory frequency of the service offer.

        • renewal_frequency string Required

          The renewal frequency of the service offer.

        • allow_coupon string Required

          Indicates if coupons are allowed (1 for yes, 0 for no).

        • service_module string Required

          The module of the service offer.

        • created_at string Required

          The creation timestamp of the service offer.

        • updated_at string

          The update timestamp of the service offer.

        • deleted_at string

          The deletion timestamp of the service offer.

    • packges object

      The packages data.

      Hide packges attribute Show packges attribute object
      • 11440 object Required
        Hide 11440 attributes Show 11440 attributes object
        • services_id string Required

          The ID of the package.

        • services_name string Required

          The name of the package.

        • services_cost string Required

          The cost of the package.

        • services_category string Required

          The category of the package.

        • services_buyable string Required

          Indicates if the package is buyable (1 for yes, 0 for no).

        • services_type string Required

          The type of the package.

        • services_field1 string

          Additional field 1 for the package.

        • services_field2 string

          Additional field 2 for the package.

        • services_module string Required

          The module of the package.

        • services_html string

          HTML content for the package.

        • services_description string Required

          Description of the package.

        • services_moreinfo_url string

          URL for more information about the package.

        • services_hidden string

          Indicates if the package is hidden (1 for yes, 0 for no).

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
GET /websites/order
curl \
 --request GET 'https://my.interserver.net/apiv2/websites/order' \
 --header "X-API-KEY: $API_KEY"
Response examples (200)
{
  "step": "order_form",
  "website": "string",
  "period": 1,
  "serviceOfferId": 0,
  "packages": {
    "11447": "Web Hosting Direct Admin (PriceLock)"
  },
  "enableDomainRegistering": false,
  "jsonServices": {
    "11447": "5.00"
  },
  "jsonServiceOffers": {
    "1026": [
      {
        "service_offer_id": "136",
        "service_id": "1026",
        "intro_cost": 96,
        "renewal_cost": 96,
        "intro_frequency": "12",
        "renewal_frequency": "12",
        "allow_coupon": "1",
        "service_module": "webhosting",
        "created_at": "2023-01-25T14:50:55.000Z",
        "updated_at": "string",
        "deleted_at": "string",
        "currencySymbol": "$"
      }
    ]
  },
  "serviceTypes": {
    "11447": {
      "services_id": "11447",
      "services_name": "Web Hosting Direct Admin (PriceLock)",
      "services_cost": "5.00",
      "services_category": "204",
      "services_buyable": "1",
      "services_type": "206",
      "services_field1": "string",
      "services_field2": "Standard",
      "services_module": "webhosting",
      "services_hidden": "1"
    }
  },
  "serviceOffers": {
    "1026": [
      {
        "service_offer_id": "136",
        "service_id": "1026",
        "intro_cost": "96.00",
        "renewal_cost": "96.00",
        "intro_frequency": "12",
        "renewal_frequency": "12",
        "allow_coupon": "1",
        "service_module": "webhosting",
        "created_at": "2023-01-25T14:50:55.000Z",
        "updated_at": "string",
        "deleted_at": "string"
      }
    ]
  },
  "packges": {
    "11440": {
      "services_id": "11440",
      "services_name": "DA BOOST X",
      "services_cost": "69.95",
      "services_category": "204",
      "services_buyable": "1",
      "services_type": "206",
      "services_field1": "string",
      "services_field2": "BoostX",
      "services_module": "webhosting",
      "services_html": "string",
      "services_description": "Direct Admin Web hosting package with 10x more resources over our standard web hosting package.",
      "services_moreinfo_url": "string",
      "services_hidden": "0"
    }
  }
}
Response examples (401)
{
  "code": "string",
  "message": "string"
}