platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
Упълномощаване
Изпратете API ключ като токен за носене. Ключът трябва да притежава разрешението 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, за да можете да видите действителния отговор. Отворете този крайpoint в 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. |
Грешки, които този крайpoint може да върне
401 · 403 · 404 · 422 · 429