产品
获取产品
GET
/products
返回包含套餐、地理位置、问题和阶梯折扣的产品列表。
响应案例:
curl -X GET "https://apid.iproyal.com/v1/reseller/products" \
-H "X-Access-Token: <your_access_token>" \
-H "Content-Type: application/json"
响应示例:
{
"data": [
{
"id": 9,
"name": "Static Residential",
"plans": [
{
"id": 4,
"name": "30 Days",
"price": 2,
"min_quantity": 5,
"max_quantity": 100000
},
...
],
"locations": [
{
"id": 51,
"name": "Australia",
"out_of_stock": false,
"available_proxies_count": 1142,
"child_locations": []
},
...
],
"questions": [
{
"id": 5,
"text": "On which website do you plan to use them?",
"is_required": false
}
],
"quantity_discounts": [
{
"quantity_from": 99,
"discount_percent": 5
},
...
]
},
...
]
}
Last updated