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
التفاصيل
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