platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
การยืนยันตัวตน
ส่ง API key ในรูปแบบ bearer token คีย์ดังกล่าวต้องมีสิทธิ์ billing.view หากไม่มีสิทธิ์ ระบบจะปฏิเสธด้วยรหัส 403 แทนที่จะเป็น 404
ตำแหน่งสำหรับใส่รหัสองค์กรของคุณ
Endpoint นี้รับ org_id เป็นฟิลด์ใน JSON body
รหัสองค์กรของคุณจะแสดงอยู่บนหน้าคีย์ 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 ในแดชบอร์ดของคุณจะเติมรหัสองค์กรจริงและคีย์ของคุณเองโดยอัตโนมัติ และทำการส่งคำขอไปยัง 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