Node.js
import Shoply from "@shoplygg/node";
const shoply = new Shoply({ apiKey: process.env.SHOPLY_API_KEY });
const result = await shoply.resellers.list();
<?php
require 'vendor/autoload.php';
$shoply = new Shoply\Client(['apiKey' => getenv('SHOPLY_API_KEY')]);
$result = $shoply->resellers->list();
import shoply
client = shoply.Client() # reads SHOPLY_API_KEY
result = client.resellers.list()
curl --request GET \
--url https://api.shoply.gg/v1/stores/{storeId}/resellers \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.shoply.gg/v1/stores/{storeId}/resellers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.shoply.gg/v1/stores/{storeId}/resellers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.shoply.gg/v1/stores/{storeId}/resellers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": null,
"code": null,
"data": [
{
"id": "5802fdf5-5c97-40bb-b505-29a900c278e4",
"name": "keydepot.example.com",
"website": "keydepot.example.com",
"email": "team@keydepot.example.com",
"tierId": null,
"tierName": null,
"tierDiscount": null,
"discount": null,
"paysOff": 0,
"balance": 0,
"status": "active",
"members": 2,
"spent30": 0,
"lastOrderAt": null,
"joinedAt": "2026-11-09 11:32:36.157",
"removedAt": null
}
],
"meta": {
"panel": {
"enabled": true,
"currency": "USD",
"minTopup": 25
},
"tiers": [
{
"id": "53272267-b8de-4f7f-9c0e-00f69122b91e",
"name": "Gold",
"discount": 12.5,
"resellers": 0,
"spent30": 0
}
],
"limit": 5
}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}Resellers
List resellers
Every reseller of the store, the newest first, but those removed: a business, by the website it joined with (name), with its owner’s email address, its tier and its own discount (paysOff is what it pays off every Reseller Price), its balance, whether it is active or paused, how many are on its team, and what it spent in 30 days. meta.limit is how many resellers the store’s plan holds, so the list is not paged.
Needs the resellers.read permission (Read Resellers).
GET
/
stores
/
{storeId}
/
resellers
Node.js
import Shoply from "@shoplygg/node";
const shoply = new Shoply({ apiKey: process.env.SHOPLY_API_KEY });
const result = await shoply.resellers.list();
<?php
require 'vendor/autoload.php';
$shoply = new Shoply\Client(['apiKey' => getenv('SHOPLY_API_KEY')]);
$result = $shoply->resellers->list();
import shoply
client = shoply.Client() # reads SHOPLY_API_KEY
result = client.resellers.list()
curl --request GET \
--url https://api.shoply.gg/v1/stores/{storeId}/resellers \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.shoply.gg/v1/stores/{storeId}/resellers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.shoply.gg/v1/stores/{storeId}/resellers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.shoply.gg/v1/stores/{storeId}/resellers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": null,
"code": null,
"data": [
{
"id": "5802fdf5-5c97-40bb-b505-29a900c278e4",
"name": "keydepot.example.com",
"website": "keydepot.example.com",
"email": "team@keydepot.example.com",
"tierId": null,
"tierName": null,
"tierDiscount": null,
"discount": null,
"paysOff": 0,
"balance": 0,
"status": "active",
"members": 2,
"spent30": 0,
"lastOrderAt": null,
"joinedAt": "2026-11-09 11:32:36.157",
"removedAt": null
}
],
"meta": {
"panel": {
"enabled": true,
"currency": "USD",
"minTopup": 25
},
"tiers": [
{
"id": "53272267-b8de-4f7f-9c0e-00f69122b91e",
"name": "Gold",
"discount": 12.5,
"resellers": 0,
"spent30": 0
}
],
"limit": 5
}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}
