md.fc.store.addbackorder (v2)

添加退货单

请求URL:

  • https://openapi.weixin12315.com/api/sign/md.fc.store/v2/addbackorder

请求方式:

  • POST

请求示例:

IAuth auth = new Sign("app_id", "app_secret"); 
IClient client = new SignClient(auth); 
IDictionary<string, object> parameters = new Dictionary<string, object>();
parameters.Add("backorderinfo","  {\"StorageOrderNo\":\"ff20165654\",\"FcDealerNo\":\"123\",\"WareHouseNo\":\"001\",\"syncpda\":1,\"ProList\":[{\"ProductNo\":\"ppp\",\"ProductCount\":-1}]}" );
var result = client.Call("https://openapi.weixin12315.com","md.fc.store.addbackorder", "v2", "POST", parameters);

参数:


参数名必选类型说明
backorderinfoobject单据详情


backorderinfo参数:

参数名必选类型说明
storageordernostring单号
fcdealernostring经销商编号
warehousenostring仓库编号
syncpdaint是否同步到pda  0否;1是
prolistobject产品列表

prolist参数:

参数名必选类型说明
productnostring商品编号
productcountstring数量

返回示例

{
    "retrun_code": "0",
    "return_msg": "success", 
    "return_data": ""
 }

返回参数说明

参数名类型说明
return_codestring错误编码
return_msgstring错误描述
return_datastring返回数据


API工具

SDK下载 调试工具