platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
Санҷиши ҳаққоният
Kaliti API-ро ҳамчун рамзи доранда (bearer token) фиристед. Калит бояд дорои иҷозати billing.view бошад; калиди бидуни он бо хатои 403 рад карда мешавад, на 404.
Ҷое, ки рақами мушаххаси ташкилоти шумо ҷойгир аст
Ин нуқтаи поёнӣ org_id -ро ҳамчун майдон дар бадани JSON мегирад.
Rakami муайянкунандаи ташкилоти шумо дар экрани калидҳои API дар панели идоракунии шумо, дар паҳлӯи худи калид ҷойгир аст. Ин як раками муайянкунанда дар ҳар یک дархосте, ки шумо иҷро мекунед, якхела аст.
Санҷидан
Ҳар чизро дар қаavски кунҷӣ бо қиматҳои худ ва ҷойи нигоҳдорандаи калидро бо калима аз панели идоракунии худ иваз кунед.
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> }'Воarid шудаед? Консоли 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