商家根据补货建议创建补货单推送到ASCP
ASCP_CREATE_REPLENISHMENT_ORDER_CALLBACK
XML格式请求报文如下:
<request>
<biz_type>70000</biz_type>
<repl_advice_code>RP2012390702234</repl_advice_code>
<sc_item_id>5265451125635</sc_item_id>
<supplier_id>2248055462</supplier_id>
<from_store_code>SJC__STORE_89347397_201</from_store_code>
<store_code>STORE_11212615</store_code>
<confirm_repl_quantity>120</confirm_repl_quantity>
<confirm_deadline>2019-07-30 23:59:59</confirm_deadline>
<out_order_code>YY20190702234</out_order_code>
</request>
成功响应报文:
<response><success>true</success></response>
失败响应报文:
<response>
<success>false</success>
<errorCode>B2011</errorCode>
<errorMsg>补货建议单号无效</errorMsg>
</response>
JSON格式请求报文如下:
{
"biz_type": "70000",
"repl_advice_code": "RP2012390702234",
"sc_item_id": "5265451125635",
"supplier_id": "2248055462",
"from_store_code": "SJC__STORE_89347397_201",
"store_code": "STORE_11212615",
"confirm_repl_quantity": "120",
"confirm_deadline": "2019-07-30 23:59:59",
"out_order_code": "YY20190702234"
}
成功响应报文:
{"success":"true"}
失败响应报文:
{
"success": "false",
"errorCode": "B2011",
"errorMsg": "补货建议单号无效"
}
FAQ
关于此文档暂时还没有FAQ