Loading…
Loading…
Integrate ShopNext into your own systems: look up products and check your balance over a REST API. Every request is authenticated with the header X-API-Key.
Sign in to see your API key.
Send your API key in a header with every request:
curl "https://your-domain.com/api/products" \ -H "X-API-Key: YOUR_API_KEY"
/api/productsDanh sách sản phẩm đang bán kèm giá và tồn kho.
Sample reply
{
"success": true,
"count": 12,
"data": [
{
"code": "SP-AB12CD",
"name": "Netflix Premium 4K — 1 Tháng",
"price": 79000,
"discount": 15,
"finalPrice": 67150,
"category": "Tài khoản Streaming",
"categorySlug": "tai-khoan-streaming",
"stock": 60
}
]
}/api/profileThông tin tài khoản chủ nhân API key: username, email, số dư ví.
Sample reply
{
"success": true,
"data": {
"username": "reseller01",
"email": "[email protected]",
"balance": 1500000,
"commissionBalance": 42000
}
}/api/buyComing soonMua sản phẩm qua API và nhận dữ liệu tài khoản. Sắp ra mắt.
Need help with the integration? Contact us.