platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
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.
Kung saan mapupunta ang id ng iyong organisasyon
Ang endpoint na ito ay kumukuha ng org_id bilang isang field sa JSON body.
Ang id ng iyong organisasyon ay nasa screen ng mga API key sa iyong dashboard, sa tabi mismo ng key. Ito ang parehong id sa bawat tawag na gagawin mo.
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 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> }'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
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`.
Katawan ng kahilingan
| Pangalan | Uri | Kailangan | Ano ito |
|---|---|---|---|
source_platform | string | Oo | — |
target_platform | string | Oo | — |
source_url | string | Oo | — |
entity_count | integer | Oo | — |
target_site_id | object | Hindi | 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 | Hindi | — |
org_id | object | Hindi | — |
Tugon
| Pangalan | Uri | Kailangan | Ano ito |
|---|---|---|---|
id | Uuid | Oo | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Oo | — |
source_platform_name | string | Hindi | — |
target_platform | string | Oo | — |
target_platform_name | string | Hindi | — |
source_url | string | Oo | — |
target_site_id | object | Hindi | — |
tier_code | string | Oo | — |
tier_name | string | Hindi | — |
entity_count_estimate | integer | Hindi | — |
status | PlatformTransferStatus | Oo | — |
status_label | string | Hindi | — |
price_amount_minor | integer | Oo | — |
price_currency | string | Oo | — |
redirects_mapped | boolean | Hindi | — |
redirect_count | integer | Hindi | — |
canonicals_verified | boolean | Hindi | — |
sitemap_submitted | boolean | Hindi | — |
structured_data_preserved | boolean | Hindi | — |
seo_checks_complete | boolean | Hindi | — |
customer_note | string | Hindi | — |
sla_due_at | object | Hindi | — |
created_at | string | Oo | — |
completed_at | object | Hindi | — |
events | PlatformTransferEvent[] | Hindi | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Mga error na maibabalik ng endpoint na ito
401 · 403 · 404 · 422 · 429