Keys and addresses
A key is issued per customer from the admin panel and ties itself to the first server that uses it. Clear the address or issue a new key in a click.
Developers
Resellers order through your API. Your shop orders from your suppliers. A page of your own can answer an order by printing a line. All of it is plain HTTP you can read in a minute.
curl -X POST https://your-shop.com/api/index.php \ -d "username=client@example.com" \ -d "apiaccesskey=ABC-DEF-GHI-JKL-MNO-PQR-STU-VWX" \ -d "requestformat=JSON" \ -d "action=placeimeiorder" \ --data-urlencode "parameters=<PARAMETERS><ID>42</ID> <IMEI>352099001761481</IMEI></PARAMETERS>"
Order #5874 placed by your reseller’s site
The APIs
Each one is a request or two you could send from a terminal.
Every shop answers on the same endpoint in the Dhru Fusion format the trade already uses. A reseller who buys from someone else today changes a URL and a key — nothing else.
curl -X POST https://your-shop.com/api/index.php \ -d "username=client@example.com" \ -d "apiaccesskey=ABC-DEF-GHI-JKL-MNO-PQR-STU-VWX" \ -d "requestformat=JSON" \ -d "action=placeimeiorder" \ --data-urlencode "parameters=<PARAMETERS><ID>42</ID> <IMEI>352099001761481</IMEI></PARAMETERS>"
{
"SUCCESS": [
{ "MESSAGE": "Order received", "REFERENCEID": 5874 }
]
}Under the hood
An integration is the easy half. This is the half that usually goes wrong.
A key is issued per customer from the admin panel and ties itself to the first server that uses it. Clear the address or issue a new key in a click.
The service list a reseller pulls carries their own group’s prices, so their site marks up from what they really pay.
New services, price changes, fields and delivery times are pulled from each supplier every time its cron runs.
When a supplier turns an order down, the customer’s balance is restored and a statement line is written. Nobody has to notice.
A new API connection, a supplier error, a finished order — each reaches Telegram, WhatsApp or email on its own.
What was sent to a supplier and what it answered is kept in the API log, so a failed order explains itself.
Start here
Pick the one that matches what you are connecting.
Running Fusion? This module is the ready-made way to connect it to a GSM X Tool shop.
Download .zipThe endpoint, the four actions, the order parameters and the shape every error takes.
Read the referenceSee where keys are issued, suppliers are added and every API call is logged — before you buy.
Open the live demoFAQ
The Dhru Fusion one: a POST with username, apiaccesskey, requestformat and action, answered in JSON under SUCCESS or ERROR. Software written for a Dhru Fusion supplier connects without changes.
Every licence includes the reseller API, every supplier standard and the Dhru Fusion module.