- API Reference
- Box API
- Selling platform
Change settings of several sold proxies at once
Updates only the fields present in the body (or forced with default_FIELD: false) on every id in ids, then restarts those ports. Answers with the updated rows, which contain credentials and API tokens. VLESS and Shadowsocks need a Premium or Business license (HTTP 403).
/selling/bulk_editRequest body application/json · required
Sold-proxy ids (id in /selling/shared_proxies).
0 HTTP and SOCKS5, 1 HTTP, 2 SOCKS5, 3 VLESS (Xray), 4 Shadowsocks (Xray). 3 and 4 need a Premium or Business license.
0, 1, 2, 3, 41 IPv4, 2 IPv6, 3 IPv6 then IPv4, 4 IPv4 then IPv6.
1, 2, 3, 4Expiry in epoch milliseconds.
Comma-separated IPs allowed without a password.
user:pass entries.
Generate random user:pass instead of userAuthenticationEntry.
Only these domains are reachable.
These domains are blocked.
0, 1Mbps.
0, 11, 2, 3, 40, 11, 2, 3, 40, 11, 2, 3, 4Let the customer rotate with /selling/rotate.
Minimum seconds between customer rotations.
Let the customer set the auto-rotation interval.
Auto-rotation interval in seconds; 0 off.
TCP OS fingerprint profile id (see /selling/tcp_os_profiles).
New slot for single-destination proxies.
New slots for group proxies.
Responses
Updated rows, or a refusal.
The caller is not trusted (not loopback, LAN, whitelisted or allowed Tailscale) and sent no valid Basic credentials. The body depends on whether "Basic auth for all API" is on. Routes that also use the panel login can answer a plain-text 401 "Unauthorized Access" instead.
VLESS or Shadowsocks port type without a Premium or Business license.
True when the box accepted the request.
Outcome code or message (see the operation's error table).
Errors returned in msg
| msg | Meaning | What to do |
|---|---|---|
This function is available on Selling Platform license only. Please contact Administrator! | The license does not include the Selling Platform. | Upgrade the license. |
VLESS and Shadowsocks require a Premium or Business license | portType 3 or 4 on a license without Xray selling (HTTP 403). | Use portType 0-2 or upgrade the license. |
Invalid request [ids not found]! | ids is missing or empty (returned in data). | Send at least one id. |
Invalid idleTimeout, range [1-86400s] | idleTimeout outside 1-86400 (returned in data). | Use 1-86400 seconds. |