platform-transfers
POST /v1/platform-transfers
Book a platform transfer (nothing is charged yet).
စစ်မှန်ကြောင်း အတည်ပြုခြင်း
API သော့တစ်ခုကို bearer token အဖြစ် ပို့ပါ။ သော့တွင် billing.view ခွင့်ပြုချက် ပါရှိရမည်ဖြစ်ပြီး၊ ၎င်းမပါရှိသော သော့ကို 404 အစား 403 ဖြင့် ငြင်းပယ်ပါမည်။
သင့်အဖွဲ့အစည်း၏ id ထည့်သွင်းရမည့်နေရာ
ဤအစွန်းဆုံးနေရာသည် JSON ခန္ဓာကိုယ်အတွင်းရှိ ကွင်းတစ်ခုအနေဖြင့် org_id ကို ယူပါသည်။
သင့်အဖွဲ့အစည်း id သည် သင်၏ ဒက်ရှ်ဘုတ်ရှိ API သော့များ မျက်နှာပြင်တွင်၊ သော့၏ ဘေး၌ ရှိပါသည်။ ၎င်းသည် သင်ပြုလုပ်သည့် ခေါ်ဆိုမှုတိုင်းတွင် တူညီသော id ဖြစ်ပါသည်။
စမ်းကြည့်ရန်
ထောင့်ချိတ်များအတွင်းရှိ မည်သည့်အရာကိုမဆို သင်၏ကိုယ်ပိုင်တန်ဖိုးများဖြင့် အစားထိုးပြီး သင့်ဒက်ရှ်ဘုတ်မှ သော့ချက်တစ်ခုဖြင့် key ကို အစားထိုးပါ။
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 (live 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