业务场景:店铺向仓库退货
店铺是加盟店,调用创建配销单时:配销单接口文档:https://doc.youzanyun.com/detail/API/0/308
返回:配销单的发货方必须为直营门店或仓库
参数:
array(1) {
["request"]=>
array(7) {
["from_warehouse_code"]=>
string(6) "Z10005"
["to_warehouse_code"]=>
string(5) "CK006"
["remark"]=>
string(24) "哗啦啦同步配销单"
["biz_bill_no"]=>
string(14) "CK202212020003"
["order_items"]=>
array(1) {
[0]=>
array(3) {
["sku_code"]=>
string(7) "JP10002"
["delivery_price_str"]=>
string(6) "10.974"
["apply_num"]=>
string(2) "12"
}
}
["retail_source"]=>
string(3) "HLL"
["create_time"]=>
string(19) "2022-12-02 13:50:36"
}
}
接口返回:
array(4) { ["trace_id"]=> string(33) "yz7-0ad2690b-1669961203663-631587" ["code"]=> int(223014042) ["success"]=> bool(false) ["message"]=> string(51) "配销单的发货方必须为直营门店或仓库" }
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|