Notification Configuration

Last Updated: December 2025 Reading Time: ~5 minutes

In the Merchant Center's "Settings - Configuration - Notifications" page, you can configure real-time alerts for new orders and daily reports.

Notification Configuration Page
Merchant Center Notification Configuration Page

Notification Methods

Notifications are used for merchants to receive real-time alerts for new orders and daily reports. The following notification methods are supported:

Email
DingTalk
WeCom
WebHook
Recommendation
Usually you only need to choose one commonly used notification method. WebHook notifications can customize more notification information.

WebHook Notifications

WebHook notifications can customize more notification information, suitable for scenarios requiring integration with your own systems.

Order Related Hooks

EventHook Name
Order Createdorder_create_hook
Order Paidorder_pay_hook
Order Cancelledorder_cancel_hook
Order Refundedorder_refund_hook
Order Out of Stockorder_out_of_stock_hook
Order Completedorder_finish_hook

Inventory Related Hooks

EventHook Name
Low Stock Alertstock_alarm_hook
Low Key Stock Alertkey_stock_alarm_hook

Statistics Related Hooks

EventHook Name
Last 2 Days Order Count & Amountorder_count_amount_hook

Signature Verification

WebHook secret key is used to sign and verify request content, ensuring requests have not been tampered with and come from a reliable source. Signature calculation steps:

  1. Concatenate current timestamp (milliseconds) + \n + secret key into a signature string, calculate signature using HmacSHA256 algorithm
  2. Base64 encode the calculation result
  3. URL encode the Base64 result (using UTF-8 charset) to get the final signature

Request Headers

HeaderDescription
Content-Typeapplication/json
User-Agentapsdai-hook (identifies requests from APSDAI)
X-Apsdai-TokenPassword or calculated signature
X-Apsdai-TimestampTimestamp when WebHook was triggered
X-Apsdai-EventTriggered hook type
Test Feature
After configuration, you can click the "Test" button to verify if WebHook is configured correctly.

Related Configuration

Back to Help Center