partner
GET /v1/partner/capabilities
What the partner surface supports right now — probe this to open or close a checkout.
Аутентификација
Пошаљите API кључ као bearer токен. Кључ мора имати дозволу partner.domains; кључ без ње се одбија уз 403, а не 404.
Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.
Испробајте
Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.
curl -X GET https://api.zinndigital.com/v1/partner/capabilities \
-H "Authorization: Bearer zdk_live_…"Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли
Детаљи
Every value is DERIVED from the code that enforces it, never typed: terms and term_discount_bps are the pricing table the cart charges from; refusal_codes is the set a hosting order can be refused with (the raise path refuses any other), and refuses_unfulfillable / region say whether plan_not_fulfillable / the region refusals are among them; plans lists every site-hosting plan with orderable and regions from the SAME functions createPartnerHostingOrder refuses on — so a plan or region published here is accepted there, and one that is not is refused. version changes when the hosting-order contract does. Requires partner.domains.
Одговор
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
site_moves | object | Не | The site-move contract (createPartnerSiteMove). Every value is derived: served from the mounted route, plans from the same functions a move is refused on. |
hosting_orders | object | Да | — |
Грешке које ова крајња тачка може вратити
401 · 403 · 429