platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
Autentifikatsiya
API kalitini bearer token sifatida yuboring. Kalit billing.view ruxsatiga ega boʻlishi shart; ruxsatsiz kalit 404 emas, balki 403 xatosi bilan rad etiladi.
Tashkilotingiz identifikatori kiritiladigan joy
Ushbu so'rov JSON tanasida org_id ni maydon sifatida qabul qiladi.
Tashkilotingiz identifikatori boshqaruv panelingizdagi API kalitlari ekranida, kalitning o'z yonida joylashgan. Bu siz amalga oshiradigan har bir so'rovda bir xil identifikator hisoblanadi.
Sinab ko'rish
Qavslardagi har qanday narsani o'z qiymatlaringiz bilan, kalit pleysxolderini эsa boshqaruv panelingizdagi kalit bilan almashtiring.
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> }'Tizimga kirganmisiz? Boshqaruv panelingizdagi API konsoli haqiqiy tashkilot ID raqamingiz va shaxsiy kalitingizni avtomatik to'ldiradi hamda haqiqiy javobni ko'rishingiz uchun so'rovni jonli API orqali bajaradi. Ushbu yakuniy nuqtani API konsolida oching
Tafsilotlar
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`.
Soʻrov tanasi
| Nomi | Turi | Majburiy | Nima bu |
|---|---|---|---|
source_platform | string | Ha | — |
target_platform | string | Ha | — |
source_url | string | Ha | — |
entity_count | integer | Ha | — |
target_site_id | object | Yo'q | 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 | Yo'q | — |
org_id | object | Yo'q | — |
Javob
| Nomi | Turi | Majburiy | Nima bu |
|---|---|---|---|
id | Uuid | Ha | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Ha | — |
source_platform_name | string | Yo'q | — |
target_platform | string | Ha | — |
target_platform_name | string | Yo'q | — |
source_url | string | Ha | — |
target_site_id | object | Yo'q | — |
tier_code | string | Ha | — |
tier_name | string | Yo'q | — |
entity_count_estimate | integer | Yo'q | — |
status | PlatformTransferStatus | Ha | — |
status_label | string | Yo'q | — |
price_amount_minor | integer | Ha | — |
price_currency | string | Ha | — |
redirects_mapped | boolean | Yo'q | — |
redirect_count | integer | Yo'q | — |
canonicals_verified | boolean | Yo'q | — |
sitemap_submitted | boolean | Yo'q | — |
structured_data_preserved | boolean | Yo'q | — |
seo_checks_complete | boolean | Yo'q | — |
customer_note | string | Yo'q | — |
sla_due_at | object | Yo'q | — |
created_at | string | Ha | — |
completed_at | object | Yo'q | — |
events | PlatformTransferEvent[] | Yo'q | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Ushbu yakuniy nuqta qaytarishi mumkin bo'lgan xatolar
401 · 403 · 404 · 422 · 429