compute
GET /v1/panels/products
Control-panel editions and extensions a customer can buy.
احراز هویت
یک کلید API را به عنوان یک توکن حامل ارسال کنید. این کلید باید دارای مجوز 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