添加退货单
请求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);
参数:
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
backorderinfo | 是 | object | 单据详情 |
backorderinfo参数:
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
storageorderno | 是 | string | 单号 |
fcdealerno | 是 | string | 经销商编号 |
warehouseno | 是 | string | 仓库编号 |
syncpda | 是 | int | 是否同步到pda 0否;1是 |
prolist | 是 | object | 产品列表 |
prolist参数:
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
productno | 是 | string | 商品编号 |
productcount | 是 | string | 数量 |
返回示例
{ "retrun_code": "0", "return_msg": "success", "return_data": "" }
返回参数说明
参数名 | 类型 | 说明 |
---|---|---|
return_code | string | 错误编码 |
return_msg | string | 错误描述 |
return_data | string | 返回数据 |