platform-transfers

POST /v1/platform-transfers

Book a platform transfer (nothing is charged yet).

Все эндпоинты platform-transfers

Аутентификация

Отправьте ключ API в качестве токена носителя (bearer token). Ключ должен иметь разрешение billing.view; ключ без него отклоняется с кодом 403, а не 404.

Идентификатор вашей организации

Этот эндпоинт принимает org_id в качестве поля в теле JSON.

Идентификатор вашей организации находится на экране ключей 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_platformstringДа
target_platformstringДа
source_urlstringДа
entity_countintegerДа
target_site_idobjectНет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_notestringНет
org_idobjectНет

Ответ

ИмяТипОбязательноЧто это
idUuidДаUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringДа
source_platform_namestringНет
target_platformstringДа
target_platform_namestringНет
source_urlstringДа
target_site_idobjectНет
tier_codestringДа
tier_namestringНет
entity_count_estimateintegerНет
statusPlatformTransferStatusДа
status_labelstringНет
price_amount_minorintegerДа
price_currencystringДа
redirects_mappedbooleanНет
redirect_countintegerНет
canonicals_verifiedbooleanНет
sitemap_submittedbooleanНет
structured_data_preservedbooleanНет
seo_checks_completebooleanНет
customer_notestringНет
sla_due_atobjectНет
created_atstringДа
completed_atobjectНет
eventsPlatformTransferEvent[]НетThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

Ошибки, которые может возвращать этот эндпоинт

401 · 403 · 404 · 422 · 429