compute
GET /v1/panels/products
Control-panel editions and extensions a customer can buy.
Аутентификација
Пошаљите API кључ као bearer токен. Кључ мора имати дозволу sites.view; кључ без ње се одбија уз 403, а не 404.
Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.
Испробајте
Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.
curl -X GET https://api.zinndigital.com/v1/panels/products \
-H "Authorization: Bearer zdk_live_…"Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом 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