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, за да можете да видите действителния отговор. Отворете този крайpoint в 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[] | Да | — |
Грешки, които този крайpoint може да върне
401 · 403 · 429