list_cancel_reasons
Get valid Ozon order cancellation reasons and their IDs for a given order, ensuring the chosen reason is accepted. Know when a comment is required.
Instructions
Reasons Ozon will accept for cancelling an order, with their reason_id. The catch-all one (needs_comment=true) is refused without a comment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | An order number ("44563249-0877") — the order_number field of a list_orders() entry. Its detail_link is accepted too, since the number is encoded in it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |