platform-transfers

POST /v1/platform-transfers

Book a platform transfer (nothing is charged yet).

Усі кінцеві точки platform-transfers

Автентифікація

Надішліть ключ 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_platformstringТак
target_platformstringТак
source_urlstringТак
entity_countintegerТак
target_site_idobjectНі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_notestringНі
org_idobjectНі

Відповідь

НазваТипОбов'язковеЩо це таке
idUuidТакUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringТак
source_platform_namestringНі
target_platformstringТак
target_platform_namestringНі
source_urlstringТак
target_site_idobjectНі
tier_codestringТак
tier_namestringНі
entity_count_estimateintegerНі
statusPlatformTransferStatusТак
status_labelstringНі
price_amount_minorintegerТак
price_currencystringТак
redirects_mappedbooleanНі
redirect_countintegerНі
canonicals_verifiedbooleanНі
sitemap_submittedbooleanНі
structured_data_preservedbooleanНі
seo_checks_completebooleanНі
customer_notestringНі
sla_due_atobjectНі
created_atstringТак
completed_atobjectНі
eventsPlatformTransferEvent[]НіThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

Помилки, які може повертати ця кінцева точка

401 · 403 · 404 · 422 · 429