getShipsContent:获取出库/发货单详情
入参
参数名称 |
是否必须 |
类型 |
描述 |
sKey |
Y |
String |
令牌 |
ships_num |
Y |
String |
单据编号 |
入参示例
{
"f": "getShipsContent",
"v": {
"sKey": "289bdaf05b36b231542eb5c8a1ae64e1",
"ships_num": "FH.20201207.0017"
}
}
返回参数
参数名称 |
类型 |
描述、 返回字段 |
rStatus |
String |
100:正常 其他:异常 |
message |
String |
信息描述 |
rData |
String |
具体信息 |
rData:
参数名称 |
类型 |
描述、 返回字段 |
ships_id |
Int |
单据主键ID |
client_id |
Int |
单据关联客户ID |
client_num |
string |
单据关联客户编号 |
client_name |
string |
单据关联客户名称 |
client_guid |
string |
单据关联客户外码 |
type_id |
Int |
出库类型ID |
type_name |
string |
出库类型名称 |
stock_id |
Int |
出库仓库ID |
stock_num |
string |
出库仓库编号 |
stock_name |
string |
出库仓库名称 |
stock_guid |
string |
出库仓库外码 |
ships_num |
string |
单据编号 |
orders_id |
Int |
单据关联订单ID |
orders_num |
string |
单据关联订单编号 |
status |
string |
单据状态,shipped:待发货;receivedin:待收货;received:已收货;cancelled:已取消; |
status_name |
string |
单据状态的中文名称 |
ships_date |
string |
发货时间 |
logistics_id |
Int |
物流公司ID |
logistics_name |
string |
物流公司名称 |
express_num |
string |
物流编号 |
remark |
string |
备注 |
update_date |
string |
更新时间 |
create_date |
string |
创建时间 |
internal_comtion |
string |
内部沟通 |
distribution_mode_id |
string |
配送方式ID
|
distribution_mode_name |
string |
配送方式名字 |
is_api |
string |
下载状态,F:未下载;T:已下载; |
address |
Object |
单据关联订单的收货地址信息 |
collaborator |
Object |
联营商信息 |
list |
Array |
单据明细 |
address:
参数名称 |
类型 |
描述、 返回字段 |
consignee |
string |
收货单位 |
consignee_contact |
string |
收货人 |
consignee_phone |
string |
联系电话 |
consignee_address |
string |
收货地址 |
area_name |
string |
收货地址所在行政区域(省-市-区) |
collaborator:
参数名称 |
类型 |
描述、 返回字段 |
collaborator_id |
Int |
联营商ID |
collaborator_mobile |
string |
联营商电话号码 |
collaborator_num |
string |
联营商编号 |
collaborator_name |
string |
联营商名称 |
list:
参数名称 |
类型 |
描述、 返回字段 |
ships_list_id |
Int |
明细ID |
goods_id |
Int |
商品ID |
goods_num |
string |
商品编号 |
goods_name |
string |
商品名称 |
goods_guid |
string |
商品外码 |
ships_number |
Float |
出库数量 |
remark |
string |
备注 |
list_type |
string |
明细类型,buy:买品;gift:赠品; |
promotion_id |
int |
商品参加活动id,如果订单商品参加了活动,则有值 |
batch_num |
string |
批次号 |
options_id |
string |
规格ID |
options_goods_num |
string |
商品规格编号 |
options_info |
Array |
规格明细信息 |
orders_list_info |
Object |
关联的订单明细信息,只对销售出库类单据有意义 |
options_info:
参数名称 |
类型 |
描述、 返回字段 |
options_id |
Int |
规格ID |
options_num |
string |
规格编号 |
options_name |
string |
规格名称 |
options_guid |
string |
规格外码 |
orders_list_info:
参数名称 |
类型 |
描述、 返回字段 |
orders_list_id |
Int |
关联的订单明细ID |
actual_amount |
float |
折后总价 |
orders_number |
float |
订购数量(小单位) |
orders_price |
float |
订购价格(小单位) |
settle_price |
float |
联营结算价 |
conversion_number |
float |
换算关系 |
orders_units |
string |
base_units:小单位;middle_units:中单位;container_units:大单位; |
discount |
float |
折扣率 |
list_type |
string |
buy:买品;gift:赠品; |
shiped_number |
float |
已发货数量 |
stock_number |
float |
已出库数量 |
order_units_price |
float |
订购单位价格 |
order_units_name |
string |
订购单位名称 |
base_units_name |
string |
小单位名称 |
返参示例
{
"rStatus":100,
"message":"success",
"rData":{
"ships_id":6779,
"client_id":37413,
"client_num":"10099",
"client_name":"LT测试账号",
"client_guid":"828081ac746d09a601746d09cb950002",
"type_id":10,
"type_name":"销售出库",
"stock_id":1613,
"stock_num":"19",
"stock_name":"联营_18608000086仓库",
"stock_guid":"",
"ships_num":"FH.20200604.0063",
"orders_id":1463492,
"orders_num":"DH.20200314.0028",
"status":"receivedin",
"status_name":"待收货",
"ships_date":"2020-05-08 14:18:52",
"logistics_id":850,
"logistics_name":"顺丰",
"express_num":"45667881239",
"remark":"测试发货",
"update_date":"2020-06-04 16:33:22",
"create_date":"2020-06-04 16:33:22",
"internal_comtion":"",
"is_api":"F",
"address":{
"consignee":"阿商",
"consignee_contact":"阿商",
"consignee_phone":"18888888888",
"consignee_address":"吉泰路东50米菁蓉汇戛纳蔓都美发店li",
"area_name":"四川省-成都市-武侯区"
},
"collaborator":{
"collaborator_id":137962,
"collaborator_mobile":"18608000086",
"collaborator_num":"71008747",
"collaborator_name":"18608000086"
},
"list":[
{
"ships_list_id":13318,
"orders_list_id":25919156,
"goods_id":226373,
"goods_num":"100015",
"goods_name":"刘和平的商品",
"goods_guid":"",
"ships_number":1,
"remark":"",
"list_type":"buy",
"batch_num":"",
"options_id":"34357,35291",
"options_info":[
{
"options_id":34357,
"options_num":"11",
"options_name":"3W",
"options_guid":"34357"
},
{
"options_id":35291,
"options_num":"18",
"options_name":"红",
"options_guid":"35291"
}
],
"orders_list_info":{
"orders_list_id":25919156,
"actual_amount":11,
"orders_number":1,
"orders_price":11,
"settle_price":11,
"conversion_number":1,
"orders_units":"base_units",
"discount":1,
"list_type":"buy",
"shiped_number":1,
"stock_number":1,
"order_units_price":11,
"base_units_name":"千克",
"order_units_name":"千克"
}
},
{
"ships_list_id":13319,
"orders_list_id":25919157,
"goods_id":226373,
"goods_num":"100015",
"goods_name":"刘和平的商品",
"goods_guid":"",
"ships_number":2,
"remark":"",
"list_type":"buy",
"batch_num":"",
"options_id":"34358,35291",
"options_info":[
{
"options_id":34358,
"options_num":"12",
"options_name":"5W",
"options_guid":"34358"
},
{
"options_id":35291,
"options_num":"18",
"options_name":"红",
"options_guid":"35291"
}
],
"orders_list_info":{
"orders_list_id":25919157,
"actual_amount":22,
"orders_number":2,
"orders_price":11,
"settle_price":11,
"conversion_number":1,
"orders_units":"base_units",
"discount":1,
"list_type":"buy",
"shiped_number":2,
"stock_number":2,
"order_units_price":11,
"base_units_name":"千克",
"order_units_name":"千克"
}
}
]
}
}