platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
Autentifikacija
Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu billing.view; ključ bez nje se odbija sa 403, a ne sa 404.
Gde ide ID vaše organizacije
Ova krajnja tačka prihvata org_id kao polje u JSON telu.
ID vaše organizacije nalazi se na ekranu sa API ključevima u vašoj kontrolnoj tabli, pored samog ključa. To je isti ID u svakom pozivu koji uputite.
Isprobajte
Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.
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 kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli
Detalji
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`.
Telo zahteva
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
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 | Šta je ovo |
|---|---|---|---|
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. |
Greške koje ovaj krajnji tačka može da vrati
401 · 403 · 404 · 422 · 429