cdek_create_webhook
Create webhook subscriptions to receive CDEK delivery events like order status changes, print form generation, or delivery updates at a specified URL.
Instructions
Добавление подписки на вебхуки (POST /v2/webhooks).
Типы: ORDER_STATUS, PRINT_FORM, PREALERT_CLOSED, ACCOMPANYING_WAYBILL, ORDER_CHANGED, DELIVERY_COST_CHANGED, DELIVERY_PROBLEM, DELIVERY_DATE_CHANGED, ORDER_MODE_CHANGED, COURIER_INFO.
Args: type: Webhook type (e.g. ORDER_STATUS, PRINT_FORM) url: URL to receive webhook events
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |