platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
Doğrulama
API açarını bearer token kimi göndərin. Açar billing.view icazəsinə malik olmalıdır; bu icazəsi olmayan açar 404 deyil, 403 xətası ilə rədd edilir.
Təşkilatınızın identifikatorunun yerləşdiyi yer
Bu son nöqtə JSON gövdəsində sahə kimi org_id qəbul edir.
Təşkilatınızın identifikatoru idarə panelinizdəki API açarları ekranında, açarın özünün yanında yerləşir. Bu, etdiyiniz hər bir sorğuda eyni identifikatordur.
Sınaqdan keçir
Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.
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> }'Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın
Təfərrüatlar
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`.
Sorğu gövdəsi
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
source_platform | string | Bəli | — |
target_platform | string | Bəli | — |
source_url | string | Bəli | — |
entity_count | integer | Bəli | — |
target_site_id | object | Xeyr | 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 | Xeyr | — |
org_id | object | Xeyr | — |
Cavab
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
id | Uuid | Bəli | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Bəli | — |
source_platform_name | string | Xeyr | — |
target_platform | string | Bəli | — |
target_platform_name | string | Xeyr | — |
source_url | string | Bəli | — |
target_site_id | object | Xeyr | — |
tier_code | string | Bəli | — |
tier_name | string | Xeyr | — |
entity_count_estimate | integer | Xeyr | — |
status | PlatformTransferStatus | Bəli | — |
status_label | string | Xeyr | — |
price_amount_minor | integer | Bəli | — |
price_currency | string | Bəli | — |
redirects_mapped | boolean | Xeyr | — |
redirect_count | integer | Xeyr | — |
canonicals_verified | boolean | Xeyr | — |
sitemap_submitted | boolean | Xeyr | — |
structured_data_preserved | boolean | Xeyr | — |
seo_checks_complete | boolean | Xeyr | — |
customer_note | string | Xeyr | — |
sla_due_at | object | Xeyr | — |
created_at | string | Bəli | — |
completed_at | object | Xeyr | — |
events | PlatformTransferEvent[] | Xeyr | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Bu son nöqtənin qaytara biləcəyi xətalar
401 · 403 · 404 · 422 · 429