platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
تصدیقهویت
یو API کی د بیئرر ټوکن (bearer token) په توګه ولیکئ. کی باید د billing.view اجازه ولري؛ له دې اجازې پرته کی د 404 پرځای د 403 په واسطه رد کیږي.
چیرته چې ستاسو د سازمان آی ډي ځي
دا پای ټکی د JSON په متن کې د یوې ساحې په توګه org_id اخلي.
ستاسو د سازمان آی ډي ستاسو په ډشبورډ کې د 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 کنسول ستاسو د اصلي سازمان ID او ستاسو خپله کیلي ډکوي، او غوښتنه د ژوندی API په وړاندې پرمخ وړي ترڅو تاسو وکولی شئ اصلي ځواب وګورئ. دا پای ټکی (endpoint) د 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. |
تېروتنې چې دا پای ټکی یې بیرته راګرځولی شي
401 · 403 · 404 · 422 · 429