文档中心
取件码接口如何模拟测试

取件码接口如何模拟测试

可以自行设定一个回调地址区模拟推送流程

curl -X POST 'YOUR_CALLBACK_URL'
-H 'Content-Type: application/json;charset=UTF-8'
-d '{ "kuaidicom": "yuantong", "kuaidinum": "YT1234567890", "pickUpCodeFlag": "true", "timestamp": "2026-09-15 12:00:00" }'

用该模拟的案例,推送内容如下:

'{ "kuaidicom": "yuantong", "kuaidinum": "YT1234567890", "pickUpCodeFlag": "true", "timestamp": "2026-09-15 12:00:00" }'