platform-transfers
GET /v1/platform-transfers/platforms
Platforms we can move a store from, and the ones we can move it to.
Doğrulama
API açarını bearer token kimi göndərin. Açar billing.view icazəsinə malik olmalıdır; bu icazəsi olmayan açar 404 deyil, 403 xətası ilə rədd edilir.
Bu endpoint heç bir təşkilat ID-si tələb etmir. Sizin açarınız artıq aid olduğu təşkilatı müəyyən edir və cavab həmin təşkilat üçün məhdudlaşdırılır.
Sınaqdan keçir
Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.
curl -X GET https://api.zinndigital.com/v1/platform-transfers/platforms \
-H "Authorization: Bearer zdk_live_…"Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın
Təfərrüatlar
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.
Cavab
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
sources | TransferPlatformGroup[] | Bəli | — |
targets | TransferPlatformGroup[] | Bəli | — |
tiers | TransferTier[] | Bəli | — |
Bu son nöqtənin qaytara biləcəyi xətalar
401 · 403 · 429