platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
Autentifikacija
Pošaljite API ključ kao nosivi token. Ključ mora imati dozvolu billing.view; ključ bez nje se odbija s kodom 403, a ne 404.
Gdje dolazi ID vaše organizacije
Ova krajnja točka prihvaća org_id kao polje u JSON tijelu.
ID vaše organizacije nalazi se na zaslonu API ključeva u vašoj nadzornoj ploči, pored samog ključa. To je isti ID u svakom pozivu koji uputite.
Isprobajte
Zamijenite sve unutar šiljastih zagrada svojim vlastitim vrijednostima, a rezervirano mjesto za ključ s ključem iz vaše nadzorne ploče.
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> }'Prijavljeni ste? API konzola na vašoj nadzornoj ploči automatski unosi stvarni ID vaše organizacije i vaš vlastiti ključ te šalje zahtjev prema aktivnom API-ju kako biste mogli vidjeti stvarni odgovor. Otvori ovu krajnju točku u API konzoli
Pojedinosti
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`.
Tijelo zahtjeva
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
source_platform | string | Da | — |
target_platform | string | Da | — |
source_url | string | Da | — |
entity_count | integer | Da | — |
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 | — |
Odgovor
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
id | Uuid | Da | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Da | — |
source_platform_name | string | Ne | — |
target_platform | string | Da | — |
target_platform_name | string | Ne | — |
source_url | string | Da | — |
target_site_id | object | Ne | — |
tier_code | string | Da | — |
tier_name | string | Ne | — |
entity_count_estimate | integer | Ne | — |
status | PlatformTransferStatus | Da | — |
status_label | string | Ne | — |
price_amount_minor | integer | Da | — |
price_currency | string | Da | — |
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 | Da | — |
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. |
Pogreške koje ova krajnja točka može vratiti
401 · 403 · 404 · 422 · 429