Path parameters

  • id integer Required

    The order ID number.

Responses

  • 200 application/json

    Mail Information.

    Hide response attributes Show response attributes object
    • serviceInfo object Required
      Hide serviceInfo attributes Show serviceInfo attributes object
      • mail_id string Required

        The ID of the mail service.

      • mail_username string

        The username associated with the mail service.

      • mail_type string Required

        The type of mail service.

      • mail_currency string Required

        The currency of the mail service.

      • mail_order_date string Required

        The order date of the mail service.

      • mail_custid string Required

        The customer ID associated with the mail service.

      • mail_quota string Required

        The mail quota for the service.

      • mail_ip string

        The IP address associated with the mail service.

      • mail_status string Required

        The status of the mail service.

      • mail_invoice string Required

        The invoice ID of the mail service.

      • mail_coupon string

        The coupon associated with the mail service.

      • mail_extra string

        Additional information for the mail service.

      • mail_server_status string

        The server status of the mail service.

      • mail_comment string

        Additional comments for the mail service.

    • billingDetails object Required
      Hide billingDetails attributes Show billingDetails attributes object
      • service_last_invoice_date string

        The last invoice date of the service.

      • service_payment_status string

        The payment status of the service.

      • service_frequency string

        The frequency of the service payment.

      • next_date string

        The next payment date of the service.

      • service_next_invoice_date string

        The next invoice date of the service.

      • service_currency string

        The currency of the service.

      • service_currency_symbol string

        The currency symbol of the service.

      • service_cost_info string

        The cost information of the service.

      • service_extra array[string]

        Extra information for the service.

      • service_extra_json string

        Extra JSON information for the service.

    • custCurrency string Required

      The customer's currency.

    • custCurrencySymbol string Required

      The currency symbol for the customer.

    • package string Required

      The package of the mail service.

    • serviceExtra array[string]

      Extra information for the mail service.

    • extraInfoTables object Required

      Additional information tables for the mail service.

      Hide extraInfoTables attributes Show extraInfoTables attributes object
      • mail object
        Hide mail attributes Show mail attributes object
        • title string

          The title of the extra info table.

        • rows array[object]

          The rows of the extra info table.

          Hide rows attributes Show rows attributes object
          • desc string

            The description of the extra info table row.

          • value string

            The value of the extra info table row.

      • tutorials object
        Hide tutorials attributes Show tutorials attributes object
        • title string

          The title of the tutorials table.

        • rows array[object]

          The rows of the tutorials table.

          Hide rows attributes Show rows attributes object
          • desc string

            The description of the tutorials table row.

          • value string

            The value of the tutorials table row.

    • serviceType object Required
      Hide serviceType attributes Show serviceType attributes object
      • services_id string

        The ID of the service type.

      • services_name string

        The name of the service type.

      • services_cost string

        The cost of the service type.

      • services_category string

        The category of the service type.

      • services_buyable string

        Whether the service type is buyable.

      • services_type string

        The type of the service type.

      • services_field1 string

        Additional field for the service type.

      • services_field2 string

        Additional field for the service type.

      • services_module string

        The module of the service type.

    • usage_count string Required

      The usage count of the mail service.

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
GET /mail/{id}
curl \
 --request GET 'https://my.interserver.net/apiv2/mail/{id}' \
 --header "X-API-KEY: $API_KEY"
Response examples (200)
{
  "serviceInfo": {
    "mail_id": "43171",
    "mail_username": "string",
    "mail_type": "10880",
    "mail_currency": "USD",
    "mail_order_date": "2023-07-16T00:55:05.000Z",
    "mail_custid": "771282",
    "mail_quota": "0",
    "mail_ip": "string",
    "mail_status": "expired",
    "mail_invoice": "20410322",
    "mail_coupon": "0",
    "mail_extra": "[]",
    "mail_server_status": "string",
    "mail_comment": "string"
  },
  "client_links": [
    {
      "label": "Invoices",
      "link": "invoices",
      "icon": "fas fa-file-invoice-dollar fa-w-12",
      "icon_text": "string",
      "help_text": "Invoice History",
      "other_attr": "string"
    }
  ],
  "billingDetails": {
    "service_last_invoice_date": "July 16, 2023",
    "service_payment_status": "Unpaid",
    "service_frequency": "Monthly",
    "next_date": "2023-08-16T00:55:05.000Z",
    "service_next_invoice_date": "August 16, 2023",
    "service_currency": "USD",
    "service_currency_symbol": "$",
    "service_cost_info": "1.00",
    "service_extra": [
      "string"
    ],
    "service_extra_json": "[]"
  },
  "custCurrency": "USD",
  "custCurrencySymbol": "$",
  "package": "MailBaby Mail",
  "serviceExtra": [
    "string"
  ],
  "extraInfoTables": {
    "mail": {
      "title": "Connection Information",
      "rows": [
        {
          "desc": "SMTP Server",
          "value": "relay.mailbaby.net"
        }
      ]
    },
    "tutorials": {
      "title": "Tutorials",
      "rows": [
        {
          "desc": "cPanel Tutorial",
          "value": "<a class=\"link\" href=\"https://mail.baby/cpanel/\" target=\"_blank\">Click Here</a>"
        }
      ]
    }
  },
  "serviceType": {
    "services_id": "10880",
    "services_name": "MailBaby Mail",
    "services_cost": "1.00",
    "services_category": "800",
    "services_buyable": "1",
    "services_type": "800",
    "services_field1": "string",
    "services_field2": "string",
    "services_module": "mail"
  },
  "usage_count": "0"
}
Response examples (401)
{
  "code": "string",
  "message": "string"
}