platform-transfers
GET /v1/platform-transfers/platforms
Platforms we can move a store from, and the ones we can move it to.
Pagpapatotoo
Magpadala ng API key bilang isang bearer token. Kailangang taglayin ng key ang pahintulot na billing.view; ang key na wala nito ay tatanggihan gamit ang 403, hindi 404.
Ang endpoint na ito ay hindi nangangailangan ng id ng organisasyon. Natutukoy na ng iyong key ang organisasyong kinabibilangan nito, at nakatuon ang tugon dito.
Subukan ito
Palitan ang anuman sa loob ng mga panaklong na may anggulo ng iyong sariling mga halaga, at ang placeholder ng key na may key mula sa iyong dashboard.
curl -X GET https://api.zinndigital.com/v1/platform-transfers/platforms \
-H "Authorization: Bearer zdk_live_…"Nakalagda? Ang API console sa iyong dashboard ay awtomatikong naglalagay ng iyong tunay na ID ng organisasyon at sariling susi, at pinapatakbo ang kahilingan laban sa live na API upang makita mo ang aktwal na tugon. Buksan ang endpoint na ito sa console ng API
Mga Detalye
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.
Tugon
| Pangalan | Uri | Kailangan | Ano ito |
|---|---|---|---|
sources | TransferPlatformGroup[] | Oo | — |
targets | TransferPlatformGroup[] | Oo | — |
tiers | TransferTier[] | Oo | — |
Mga error na maibabalik ng endpoint na ito
401 · 403 · 429