platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
Баталгаажуулалт
API түлхүүрийг bearer token хэлбэрээр илгөэнэ үү. Түлхүүр нь billing.view эрхтэй байх ёстой бөгөөд үүнгүйгээр 404 биш, харин 403 алдаа буцааж татгалзах болно.
Таны байгууллагын дугаар орох газар
Энэ төгсгөлийн цэг нь 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