Платформа: отменить заказ
platform_cancel_requestCancel a delivery order using its request ID. Stops the courier before the recipient receives the package and returns cancellation status, reason, and description.
Instructions
Отменяет заказ в логистической платформе. Курьерский заказ можно отменить до статуса DELIVERY_TRANSPORTATION_RECIPIENT (передача получателю). Возвращает status (CREATED | SUCCESS | ERROR), reason и description. Ошибки: 403 — чужой заказ/нет прав, 404 — не найден.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | id заказа в платформе (из platform_confirm_offer). |