compute
GET /v1/panels/products
Control-panel editions and extensions a customer can buy.
การยืนยันตัวตน
ส่ง API key ในรูปแบบ bearer token คีย์ดังกล่าวต้องมีสิทธิ์ sites.view หากไม่มีสิทธิ์ ระบบจะปฏิเสธด้วยรหัส 403 แทนที่จะเป็น 404
ปลายทางนี้ไม่ต้องใช้รหัสองค์กร คีย์ของคุณระบุองค์กรที่เป็นเจ้าของอยู่แล้ว และการตอบกลับจะถูกจำกัดขอบเขตไว้เฉพาะองค์กรนั้น
ทดลองใช้เลย
แทนที่สิ่งใดๆ ที่อยู่ภายในวงเล็บแหลมด้วยค่าของคุณเอง และตัวยึดตำแหน่งคีย์ด้วยคีย์จากแดชบอร์ดของคุณ
curl -X GET https://api.zinndigital.com/v1/panels/products \
-H "Authorization: Bearer zdk_live_…"เข้าสู่ระบบแล้วใช่ไหม คอนโซล API ในแดชบอร์ดของคุณจะเติมรหัสองค์กรจริงและคีย์ของคุณเองโดยอัตโนมัติ และทำการส่งคำขอไปยัง API จริง เพื่อให้คุณเห็นผลลัพธ์ที่เป็นข้อมูลจริง เปิดจุดสิ้นสุดนี้ในคอนโซล API
รายละเอียด
The Plesk catalogue — every edition (Web Admin, Web Pro, Web Host, WordPress, Business & Collaboration) and the extensions that attach to one — priced in the currency asked for. ⛔ **`hostType` is not cosmetic and the wrong value sells a key the panel refuses.** Plesk prices a VPS licence and a dedicated-server licence as different SKUs at different money (measured 2026-08-29: `EUR 21.20` against `EUR 24.00` for Web Host). Filtering by `hostType` always also returns `any` products, because most extensions genuinely do not care which kind of machine they run on. ⛔ **A product with no price in the requested currency is omitted, never returned at zero.** It cannot be bought in that currency, and rendering it free is the one error a customer would happily accept. Requires `sites.view`.
พารามิเตอร์
| ชื่อ | ประเภท | จำเป็นต้องมี | ลักษณะของสิ่งนี้ |
|---|---|---|---|
currency (query) | string | ไม่ใช่ | ISO 4217 code to price in. A product with no price in it is omitted. |
hostType (query) | string<vps, dedicated> | ไม่ใช่ | The kind of machine the licence is for. Products marked `any` are always included as well. |
kind (query) | string<edition, extension> | ไม่ใช่ | Narrow to base editions or to the extensions that attach to one. |
การตอบกลับ
| ชื่อ | ประเภท | จำเป็นต้องมี | ลักษณะของสิ่งนี้ |
|---|---|---|---|
data | PanelProduct[] | ใช่ | — |
ข้อผิดพลาดที่เอนด์พอยต์นี้สามารถส่งกลับได้
401 · 403 · 429