platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
Автентифікація
Надішліть ключ API як маркер носія (bearer token). Ключ повинен мати дозвіл billing.view; ключ без нього відхиляється з кодом 403, а не 404.
Де вказується ідентифікатор вашої організації
Цей ендпоінт приймає org_id як поле в тілі JSON.
Ідентифікатор вашої організації знаходиться на екрані API-ключів у вашій панелі керування, поруч із самим ключем. Це той самий ідентифікатор у кожному вашому запиті.
Спробувати
Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.
curl -X POST https://api.zinndigital.com/v1/platform-transfers \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "source_platform": <string>, "target_platform": <string>, "source_url": <string>, "entity_count": <integer> }'Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі API
Деталі
Creates the request in `draft`. **No money moves here** — call `payPlatformTransfer` to charge it. The row is written before the charge on purpose: a declined card then leaves a visible `payment_failed` transfer rather than a charge for a job nobody can see. Requires `billing.view`.
Тіло запиту
| Назва | Тип | Обов'язкове | Що це таке |
|---|---|---|---|
source_platform | string | Так | — |
target_platform | string | Так | — |
source_url | string | Так | — |
entity_count | integer | Так | — |
target_site_id | object | Ні | Where it lands. May be omitted — a customer often buys the transfer before the destination site exists, which is the point of an on-ramp. |
customer_note | string | Ні | — |
org_id | object | Ні | — |
Відповідь
| Назва | Тип | Обов'язкове | Що це таке |
|---|---|---|---|
id | Uuid | Так | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Так | — |
source_platform_name | string | Ні | — |
target_platform | string | Так | — |
target_platform_name | string | Ні | — |
source_url | string | Так | — |
target_site_id | object | Ні | — |
tier_code | string | Так | — |
tier_name | string | Ні | — |
entity_count_estimate | integer | Ні | — |
status | PlatformTransferStatus | Так | — |
status_label | string | Ні | — |
price_amount_minor | integer | Так | — |
price_currency | string | Так | — |
redirects_mapped | boolean | Ні | — |
redirect_count | integer | Ні | — |
canonicals_verified | boolean | Ні | — |
sitemap_submitted | boolean | Ні | — |
structured_data_preserved | boolean | Ні | — |
seo_checks_complete | boolean | Ні | — |
customer_note | string | Ні | — |
sla_due_at | object | Ні | — |
created_at | string | Так | — |
completed_at | object | Ні | — |
events | PlatformTransferEvent[] | Ні | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Помилки, які може повертати ця кінцева точка
401 · 403 · 404 · 422 · 429