- Simple Guide
- Developer Version
- Full Example
Let’s Keep This Simple
If you want to order a VPS using the EDIS Global API, think of it like this:👉 You don’t start by ordering👉 You first collect all the pieces you needOnly after that, you send one final request.
The Basic Idea
Imagine ordering a VPS like ordering food:You need to decide:- where (location)
- what (plan)
- how often you pay (billing cycle)
- how you pay (payment method)
- extras (RAM, IPs, etc.)
Step-by-Step Overview
1
Login
Use your EDIS Global email + password (same as Client Portal)
2
Get available options
Ask the API:
- what billing cycles exist
- what payment methods exist
- what locations exist
3
Pick a location
Choose where your VPS should be deployed
4
Get plans for that location
This gives you:
- product IDs (pid)
- OS IDs
- addon IDs
5
Build your order
Put everything together into one JSON request
6
Send the order
Call the order endpoint
Step 1: Get Billing Cycles
Just ask the API what billing cycles exist.Step 2: Get Payment Methods
Step 3: Get VPS Locations
- use the id
- ignore locations where
out_of_stock = true
Step 4: Get VPS Plans (This Is the Important One)
Now you ask:👉 “What can I buy in this location?”- plan IDs →
pid - OS IDs →
os - addon IDs → RAM, IPs, etc.
Step 5: Pick What You Want
From that response, choose:- plan →
pid - OS →
os - optional:
- RAM
- CPU
- IPs
- disk 👉 Everything is just IDs.
Final Step: Send the Order
Now you finally send the order:What Happens Next?
If everything is correct, you get:✅ Invoice created
✅ VPS is being deployed
Key Takeaway
👉 The API is simple once you understand this:- Ask for options
- Pick IDs
- Send order
Pro Tip
Always fetch locations and products dynamically.IDs can change, new locations can appear, stock can change, and new plans can appear.Account credit will be applied automatically, regardless of the payment method you choose.