platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
Նույնականացում
Ուղարկեք API բանալին որպես bearer token: Բանալին պետք է ունենա billing.view թույլտվությունը. առանց դրա բանալին մերժվում է 403, և ոչ թե 404 կարգավիճակով:
Որտեղ տեղադրվում է ձեր կազմակերպության ID-ն
Այս վերջնակետը JSON մարմնում որպես դաշտ վերցնում է org_id-ը։
Ձեր կազմակերպության ID-ն գտնվում է Ձեր ղեկավարման վահանակի API բանալիների էկրանին՝ բուն բանալու կողքին: Այն նույն ID-ն է Ձեր կատարած յուրաքանչյուր հարցման մեջ:
Փորձել
Փոխարինեք անկյունային փակագծերում գտնվող ցանկացած բան ձեր սեփական արժեքներով, և բանալու տեղապահը՝ ձեր վահանակի բանալիով:
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-ի դեմ, որպեսզի կարողանաք տեսնել փաստացի պատասխանը: Բացեք այս վերջնակետը 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