> ## Documentation Index
> Fetch the complete documentation index at: https://docs.edisglobal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lookup Available VPS Locations

> Get details of available VPS locations using your WHMCS account credentials.




## OpenAPI

````yaml post /kvm/v2/get/locations
openapi: 3.0.0
info:
  title: EDIS Global ORDER API
  description: >
    Welcome to EDIS Global ORDER API 🚀

    The EDIS Global ORDER API allows seamless integration with our
    infrastructure to automate the entire product lifecycle (ordering and
    cancellations).


    Whether you’re integrating into your billing system or automating your
    service orders, our ORDER API makes managing the product lifecycle of EDIS
    Global services simple and effective. Below is a quick overview to help you
    get started.


    🚀 **Get Started Here**

    Follow these steps to begin using the EDIS Global ORDER API:


    - **Authentication:** Ensure you are authenticated (WHMCS username and
    password)

    - **Explore the Endpoints:** Use the endpoints below to order and cancel VPS
    services in any of our worldwide server locations.


    Available API Endpoints:


    **Payment Methods**

    - POST `get payment methods`
      Retrieve the available payment methods for your order.

    **Billing Cycles**

    - POST `get billingcycles`
      Get available billing cycles for different products.

    **Locations**

    - POST `get locations`
      Fetch all available VPS locations across the globe.

    **Products**

    - POST `get products`
      List the available VPS products and configurations.

    **Place an Order**

    - POST `add order`
      Add a new VPS order to the EDIS Global infrastructure.

    **Cancel a Product**

    - POST `cancel product`
      Cancel a specific product or VPS service.

    For more details on the EDIS Global ORDER API, please refer to the full
    documentation, and feel free to reach out if you have any questions or need
    assistance.


    Happy Coding!

    The EDIS Global Team
  version: 1.0.0
servers:
  - url: https://order.edisglobal.com
    description: Sandbox Server
security: []
paths:
  /kvm/v2/get/locations:
    post:
      summary: GEt VPS-Locations.
      description: >
        Get details of available VPS locations using your WHMCS account
        credentials.
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/get_locations_body'
        required: true
      responses:
        '200':
          description: Successfully retrieved VPS locations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inline_response_200_4'
        '400':
          description: Bad Request - Invalid parameters or missing fields.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inline_response_400_3'
        '401':
          description: Unauthorized - Invalid WHMCS credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inline_response_401_3'
      servers:
        - url: https://order.edisglobal.com
          description: Specific endpoint for retrieving VPS locations
components:
  schemas:
    get_locations_body:
      type: object
      properties:
        email:
          type: string
          description: Your WHMCS email address.
          example: yourwhmc_email
        pw:
          type: string
          description: Your WHMCS password.
          example: yourwhmcs_password
    inline_response_200_4:
      type: object
      properties:
        locations:
          type: object
          description: >-
            Available KVM locations keyed by location label.


            Fields per location:

            - `id`: Unique identifier of the location.

            - `name`: Display name of the location.

            - `country`: Country or region code for the location.

            - `out_of_stock`: Availability flag; `false` means available to
            order, `true` means currently unavailable.

            - `headline`: Optional marketing headline for the location.
        status:
          type: string
          example: success
      example:
        locations:
          KVM Hong Kong:
            id: 22
            headline: null
            name: Hong Kong
            country: hk
            out_of_stock: false
          KVM Iceland:
            id: 24
            headline: null
            name: Iceland
            country: is
            out_of_stock: false
          KVM Russia, St. Petersburg:
            id: 31
            headline: ''
            name: Russia, St. Petersburg
            country: ru-sp
            out_of_stock: true
          KVM Slovenia:
            id: 36
            headline: null
            name: Slovenia
            country: si
            out_of_stock: false
          KVM Hungary:
            id: 46
            headline: null
            name: Hungary
            country: hu
            out_of_stock: false
          KVM Bulgaria:
            id: 51
            headline: null
            name: Bulgaria
            country: bg
            out_of_stock: false
          KVM Italy, Sicily, Palermo:
            id: 52
            headline: null
            name: Italy, Sicily, Palermo
            country: it-pa
            out_of_stock: false
          KVM Canada:
            id: 57
            headline: Montreal, Canada
            name: Canada
            country: ca
            out_of_stock: false
          KVM Japan:
            id: 62
            headline: null
            name: Japan
            country: jp
            out_of_stock: false
          KVM Singapore:
            id: 67
            headline: null
            name: Singapore
            country: sg
            out_of_stock: false
          KVM Israel:
            id: 72
            headline: null
            name: Israel
            country: il
            out_of_stock: false
          KVM Chile:
            id: 77
            headline: null
            name: Chile
            country: cl
            out_of_stock: false
          KVM Moldova:
            id: 78
            headline: null
            name: Moldova
            country: md
            out_of_stock: false
          KVM Czech Republic:
            id: 83
            headline: KVM Czech Republic
            name: Czech Republic
            country: cz
            out_of_stock: false
          KVM Serbia:
            id: 88
            headline: ''
            name: Serbia
            country: rs
            out_of_stock: false
          KVM USA:
            id: 93
            headline: New York Metropolitan Area
            name: USA
            country: us
            out_of_stock: false
          KVM Greece:
            id: 94
            headline: ''
            name: Greece
            country: gr
            out_of_stock: false
          KVM Australia:
            id: 100
            headline: ''
            name: Australia
            country: au
            out_of_stock: false
          KVM Belgium:
            id: 102
            headline: KVM vps in Brussels, Belgium
            name: Belgium
            country: be
            out_of_stock: false
          KVM Austria, Graz:
            id: 107
            headline: KVM vps in Graz, Austria
            name: Austria, Graz
            country: at-grz
            out_of_stock: true
          KVM Germany:
            id: 122
            headline: KVM vps in Frankfurt, Germany
            name: Germany
            country: de
            out_of_stock: false
          KVM United Kingdom:
            id: 127
            headline: KVM VPS in the City of London
            name: United Kingdom
            country: uk
            out_of_stock: true
          KVM Sweden:
            id: 132
            headline: KVM vps in Stockholm, Sweden
            name: Sweden
            country: se
            out_of_stock: false
          KVM France:
            id: 137
            headline: KVM vps in Paris, France
            name: France
            country: fr
            out_of_stock: false
          KVM Poland:
            id: 142
            headline: KVM vps in Warsaw, Poland
            name: Poland
            country: pl
            out_of_stock: false
          KVM Spain:
            id: 147
            headline: KVM vps in Seville, Spain
            name: Spain
            country: es
            out_of_stock: false
          KVM Italy, Milan:
            id: 152
            headline: KVM vps in Milan, Italy
            name: Italy, Milan
            country: it
            out_of_stock: false
          KVM Netherlands:
            id: 157
            headline: KVM vps in Schiphol-Rijk (Amsterdam), Netherlands
            name: Netherlands
            country: nl
            out_of_stock: false
          KVM Romania:
            id: 162
            headline: KVM vps in Bucharest, Romania
            name: Romania
            country: ro
            out_of_stock: false
          KVM Denmark:
            id: 167
            headline: Copenhagen, Denmark
            name: Denmark
            country: dk
            out_of_stock: false
          KVM Norway:
            id: 172
            headline: KVM vps in Oslo, Norway
            name: Norway
            country: 'no'
            out_of_stock: false
          KVM United Arab Emirates:
            id: 177
            headline: KVM vps in Dubai, United Arab Emirates
            name: United Arab Emirates
            country: ae
            out_of_stock: false
          KVM Russia, Moscow:
            id: 182
            headline: KVM vps in Moscow, Russia
            name: Russia, Moscow
            country: ru
            out_of_stock: true
          KVM Austria, Vienna:
            id: 192
            headline: KVM VPS/VDS in Vienna, Austria
            name: Austria, Vienna
            country: at
            out_of_stock: false
          KVM Lithuania:
            id: 197
            headline: KVM vps in Vilnius, Lithuania
            name: Lithuania
            country: lt
            out_of_stock: false
          KVM Latvia:
            id: 202
            headline: KVM vps in Riga, Latvia
            name: Latvia
            country: lv
            out_of_stock: false
          KVM Croatia:
            id: 207
            headline: KVM vps in Zagreb, Croatia
            name: Croatia
            country: hr
            out_of_stock: false
          KVM North Macedonia:
            id: 208
            headline: KVM vps in Skopje, North Macedonia
            name: North Macedonia
            country: mk
            out_of_stock: false
          KVM USA, Miami:
            id: 211
            headline: ''
            name: USA, Miami
            country: us-mia
            out_of_stock: true
          KVM United Kingdom, London Docklands:
            id: 212
            headline: NEW! London, Canary Wharf
            name: United Kingdom, London Docklands
            country: uk-lnd
            out_of_stock: false
          KVM Austria, Vienna Interxion:
            id: 215
            headline: KVM VPS @ Vienna Interxion
            name: Austria, Vienna Interxion
            country: at-vie
            out_of_stock: false
          KVM Colombia:
            id: 217
            headline: KVM vps in Bogotá, Colombia
            name: Colombia
            country: co
            out_of_stock: false
          KVM USA, Los Angeles:
            id: 219
            headline: ''
            name: USA, Los Angeles
            country: us-lax
            out_of_stock: false
          KVM Cyprus:
            id: 221
            headline: ''
            name: Cyprus
            country: cy
            out_of_stock: false
          KVM Estonia:
            id: 222
            headline: Tallinn, Estonia
            name: Estonia
            country: ee
            out_of_stock: false
          KVM Switzerland, Zurich:
            id: 223
            headline: KVM Switzerland, Zurich
            name: Switzerland, Zurich
            country: ch-zrh
            out_of_stock: false
          KVM Finland:
            id: 225
            headline: KVM VPS in Helsinki, Finland
            name: Finland
            country: fi
            out_of_stock: false
          KVM Sweden, Stockholm:
            id: 226
            headline: KVM vps in Sweden, Stockholm
            name: Sweden, Stockholm
            country: se-sto
            out_of_stock: false
        status: success
    inline_response_400_3:
      type: object
      properties:
        status:
          type: string
          example: error
        message:
          type: string
          example: Invalid parameters or missing fields.
        errors:
          type: array
          example:
            - email is required
            - password is required
          items:
            type: string
    inline_response_401_3:
      type: object
      properties:
        status:
          type: string
          example: error
        message:
          type: string
          example: Invalid WHMCS credentials.
        details:
          type: string
          example: The provided credentials are incorrect or expired.

````