platform-transfers
GET /v1/platform-transfers/platforms
Platforms we can move a store from, and the ones we can move it to.
Аутентификација
Пошаљите API кључ као bearer токен. Кључ мора имати дозволу billing.view; кључ без ње се одбија уз 403, а не 404.
Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.
Испробајте
Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.
curl -X GET https://api.zinndigital.com/v1/platform-transfers/platforms \
-H "Authorization: Bearer zdk_live_…"Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли
Детаљи
Everything the transfer selector is built from, in one response: the source platforms grouped for display, the target platforms, and the three priced tiers. Requires billing.view. targets is a strict subset of sources, and deliberately so. A platform can be a target only when we can host it, so self-hosted PHP/Node stacks (WooCommerce, Magento, PrestaShop, …) appear in both lists while hosted SaaS platforms (Shopify, Wix, Squarespace, …) appear only as sources. Nobody but their owner can run those, so we cannot promise a result on them. Tier prices are in the caller's currency, converted from the cached FX rates by the same function the charge captures — so the price on the selector is the price at the till. Send X-Zinn-Currency to choose.
Одговор
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
sources | TransferPlatformGroup[] | Да | — |
targets | TransferPlatformGroup[] | Да | — |
tiers | TransferTier[] | Да | — |
Грешке које ова крајња тачка може вратити
401 · 403 · 429