platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
Autentizace
Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění billing.view; klíč bez něj je odmítnut s kódem 403, nikoli 404.
Sem patří ID vaší organizace
Tento koncový bod přijímá org_id jako pole v těle JSON.
ID vaší organizace najdete na obrazovce API klíčů ve vašem přehledu, hned vedle samotného klíče. Je to stále stejné ID v každém volání, které provedete.
Vyzvednout
Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.
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> }'Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API
Podrobnosti
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`.
Tělo požadavku
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
source_platform | string | Ano | — |
target_platform | string | Ano | — |
source_url | string | Ano | — |
entity_count | integer | Ano | — |
target_site_id | object | Ne | 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 | Ne | — |
org_id | object | Ne | — |
Odpověď
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
id | Uuid | Ano | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Ano | — |
source_platform_name | string | Ne | — |
target_platform | string | Ano | — |
target_platform_name | string | Ne | — |
source_url | string | Ano | — |
target_site_id | object | Ne | — |
tier_code | string | Ano | — |
tier_name | string | Ne | — |
entity_count_estimate | integer | Ne | — |
status | PlatformTransferStatus | Ano | — |
status_label | string | Ne | — |
price_amount_minor | integer | Ano | — |
price_currency | string | Ano | — |
redirects_mapped | boolean | Ne | — |
redirect_count | integer | Ne | — |
canonicals_verified | boolean | Ne | — |
sitemap_submitted | boolean | Ne | — |
structured_data_preserved | boolean | Ne | — |
seo_checks_complete | boolean | Ne | — |
customer_note | string | Ne | — |
sla_due_at | object | Ne | — |
created_at | string | Ano | — |
completed_at | object | Ne | — |
events | PlatformTransferEvent[] | Ne | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Chyby, které může tento koncový bod vrátit
401 · 403 · 404 · 422 · 429