Lingxing
切换旧版

查询平台仓发货单列表

POST/cepf/warehouse/api/openApi/queryShippingListPage

该接口仅支持walmart,现已提供v2接口查询平台仓发货单列表v2,支持多平台下全部平台的平台仓发货单列表数据

接口信息

API Path请求协议请求方式令牌桶容量
/cepf/warehouse/api/openApi/queryShippingListPageHTTPSPOST10

请求参数

store_idarray<any>
店铺id
cargo_codestring
货件单号
shipping_list_codesarray<any>
发货单编号,上限100
shipping_list_statusinteger
发货单状态:
0 待配货
1 待发货
2 已发货
3 已作废
start_timestring
开始时间【创建时间】,格式:Y-m-d,双闭区间
end_timestring
结束时间【创建时间】,格式:Y-m-d,双闭区间
offsetinteger
分页偏移量,默认0
lengthinteger
分页长度,默认15,上限200

请求示例

{
    "store_id": [
        "110000000020008001"
    ],
    "cargo_code": "test0508001-shipment-2",
    "shipping_list_codes": [
        "SP202307310010190"
    ],
    "shipping_list_status": 1,
    "start_time": "2023-07-08",
    "end_time": "2023-08-08",
    "offset": 0,
    "length": 15
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
error_detailsarray<any>必填
错误信息
messagestring必填
消息提示
示例 success
request_idstring必填
请求链路id
示例 110e3649dabd4f14a660de04b1755ee7.1690443265873
response_timestring必填
响应时间
示例 2023-07-01 08:11:11
dataobject必填
响应数据
隐藏子属性
totalstring必填
总数
示例 200
recordsarray<object>必填
详细信息列表
隐藏子属性
actual_delivery_timestring必填
实际发货时间
示例 2023-08-13
actual_due_imestring必填
实际妥投时间
示例 2023-08-13
arrival_timestring必填
到货时间
示例 2023-08-13
creatorstring必填
创建人
示例 管理员
delivery_timestring必填
发货时间
示例 2023-08-13
expected_arrival_timestring必填
预计到港时间
示例 2023-08-13
gmt_createstring必填
发货单创建时间
示例 2023-07-31 15:33:05
head_fee_typestring必填
分摊方式
示例 按SKU数量
logistics_codestring必填
物流中心编码
示例 LRY03
logistics_provider_idstring必填
物流商id
示例 1
order_logistics_statusstring必填
订单物流状态
示例 物流状态
principal_user_namestring必填
负责人名称
示例 吴
sail_timestring必填
开船时间
示例 2023-08-13
shipping_codestring必填
发货单号
示例 SP202307310010190
shipping_statusstring必填
状态:
待配货
待发货
已发货
已作废
示例 已发货
shipping_accessoriesarray<object>必填
平台发货单关联辅料信息
隐藏子属性
accessories_pricestring必填
单位成本
示例 0.00
accessories_total_pricestring必填
辅料总成本
示例 0.00
aux_namestring必填
辅料品名
示例 lry辅料009
aux_numstring必填
辅料发货量
示例 2
aux_skustring必填
辅料sku
示例 lryfl009
relation_typeNamestring必填
费用关联方式
示例 关联商品
shipping_first_letsarray<object>必填
平台发货单头程分摊信息
隐藏子属性
aux_stock_pricestring必填
单位辅料费用
示例 0.00
delivery_numstring必填
发货量
示例 1
good_namestring必填
品名
示例 test050502pm
gtinstring必填
平台标签
示例 006344827368521
head_stock_pricestring必填
单位出库头程
示例 0.00
mskustring必填
MSKU
示例 msku
per_first_let_coststring必填
单位头程费用
示例 0.00
per_taxstring必填
单位税费
示例 0.00
pricestring必填
单位出库费用
示例 0.00
purchase_pricestring必填
采购单价
示例 0.00
skustring必填
sku
示例 sku
value_sourcestring必填
头程费用计算取值类型
示例 实际费用
wfs_stock_pricestring必填
单位WFS库存成本
示例 0.00
shipping_goodsarray<object>必填
平台发货单商品信息
隐藏子属性
apply_numstring必填
申报量
示例 10
box_gross_weightstring必填
单箱毛重(kg)
示例 10.00
box_numstring必填
箱数
示例 10
box_wet_weightstring必填
单箱净重(kg)
示例 10.00
cargo_codestring必填
货件单号
示例 test0508001-shipment-2
cbmstring必填
CMB(m³)
示例 0.01
cg_product_gross_weightstring必填
单品毛重(g)
示例 1.01
cg_product_net_weightstring必填
单品净重(g)
示例 1.01
country_namestring必填
国家名称
示例 中国
goods_urlstring必填
商品图片
示例 https://image.disibxxx/03a8b.jpeg
mskustring必填
msku
示例 msku
platform_namestring必填
平台名称
示例 沃尔玛
product_namestring必填
商品名称
示例 商品
quantity_in_caseinteger必填
单箱数量
示例 10
remarkstring必填
备注
示例 备注
shipments_numstring必填
发货量
示例 10
skustring必填
sku
示例 ku
spec_infoobject必填
产品箱规总信息
隐藏子属性
cg_product_net_weightstring必填
单品净重
示例 2.00
spec_pack_listarray<object>必填
箱规信息
隐藏子属性
cg_box_heightstring必填
箱子高度
示例 1.00
cg_box_lengthstring必填
箱子长度
示例 1.00
cg_box_pcsstring必填
单箱数量
示例 1
cg_box_weightstring必填
单箱重量
示例 1.00
cg_box_widthstring必填
箱子宽度
示例 1.00
cg_package_heightstring必填
包装规格高度
示例 1.00
cg_package_lengthstring必填
包装规格长度
示例 1.00
cg_package_widthstring必填
包装规格宽度
示例 1.00
cg_product_gross_weightstring必填
单品毛重
示例 1.00
pps_idstring必填
规格id
示例 210261409165525663
store_namestring必填
店铺名称
示例 测试店铺
tax_amountstring必填
税费
示例 1.00
tax_currencystring必填
税费币种
示例 CNY
total_gwstring必填
总毛重(kg)
示例 1.00
total_nwstring必填
总净重(kg)
示例 1.00
volume_weightstring必填
体积重(kg)
示例 .00
whbCodeInfoarray<object>必填
仓位信息
隐藏子属性
product_idinteger必填
产品编号
示例 5280
stock_numinteger必填
仓位对应库存数量
示例 1988
whb_codestring必填
仓位code
示例 ts_valid
whb_namestring必填
仓位名称
示例 可用
whb_numinteger必填
手动填写的仓位数量
示例 10
box_lengthstring必填
箱子长度(cm)
示例 1.00
box_widthstring必填
箱子宽度(cm)
示例 1.00
box_heightstring必填
箱子高度(cm)
示例 1.00
package_lengthstring必填
包装长度(cm)
示例 1.00
package_widthstring必填
包装宽度(cm)
示例 1.00
package_heightstring必填
包装高度(cm)
示例 1.00
box_weightstring必填
单箱重量kg)
示例 1.00
spec_idstring必填
规格id
示例 210261409165525663
store_idstring必填
店铺id
示例 110000000017008001
shipping_list_filesarray<object>必填
附件信息
隐藏子属性
shipping_list_file_namestring必填
文件名称
示例 已发货订单模板20230729.xlsx
shipping_list_file_urlstring必填
附件url
示例 https://xxxx/A1%E6%9D%BF20230729.xlsx
shipping_logisticsarray<object>必填
平台发货单物流信息
隐藏子属性
expected_other_coststring必填
预估其他费用
示例 1.00
expected_other_cost_remarkstring必填
预估其他费用备注
示例 备注
expected_other_currencystring必填
预估其他费用币种
示例 CNY
expected_transportation_coststring必填
预估物流费用
示例 1.00
expected_transportation_currencystring必填
预估物流费用币种
示例 CNY
logistics_numberstring必填
物流商单号
示例 6674390726051
other_coststring必填
实际其他费用
示例 1.00
other_cost_remarkstring必填
实际其他费用备注
示例 实际其他费用备注
other_currencystring必填
实际其他费用币种
示例 CNY
tracking_numberstring必填
物流商跟踪号
示例 667439072605
transportation_coststring必填
实际费用
示例 1.00
transportation_currencystring必填
实际费用币种
示例 CNY
shipping_remarkstring必填
备注
示例 备注
warehouse_idinteger必填
发货仓库id
示例 70
logistics_channel_idstring必填
物流渠道id
示例 3

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "1d466c647e624c7cb6c686e332ade41f.117.16909686672353653",
    "response_time": "2023-08-02 17:31:07"
    "data": {
        "total": "29",
        "records": [
            {
                "shipping_code": "SP202302080010030",
                "shipping_status": "待发货",
                "delivery_time": "1970-01-01",
                "warehouse_id": 4244,
                "logistics_provider_id": "145",
                "logistics_channel_id": "3",
                "creator": "吴x",
                "gmt_create": "2023-02-08 10:37:29",
                "actual_delivery_time": null,
                "arrival_time": "2023-02-08",
                "sail_time": null,
                "expected_arrival_time": null,
                "actual_due_ime": null,
                "logistics_code": "LRY03",
                "principal_user_name": null,
                "shipping_remark": "",
                "head_fee_type": "按计费重",
                "order_logistics_status": "",
                "shipping_list_files": [
                    {
                        "shipping_list_file_url": "https://xxx/xxx30731.xlsx",
                        "shipping_list_file_name": "已发货订单模板20230731.xlsx"
                   }
                ],
                "shipping_logistics": [
                    {
                        "logistics_number": "",
                        "tracking_number": "667439072605",
                        "expected_transportation_cost": "0.00",
                        "expected_transportation_currency": "CNY",
                        "expected_other_cost_remark": "",
                        "expected_other_cost": "0.00",
                        "expected_other_currency": "CNY",
                        "other_cost_remark": "",
                        "transportation_currency": "CNY",
                        "transportation_cost": "0.00",
                        "other_cost": "0.00",
                        "other_currency": "CNY"
                    },
                    {
                        "logistics_number": "",
                        "tracking_number": "667439072606",
                        "expected_transportation_cost": "0.00",
                        "expected_transportation_currency": "CNY",
                        "expected_other_cost_remark": "",
                        "expected_other_cost": "0.00",
                        "expected_other_currency": "CNY",
                        "other_cost_remark": "",
                        "transportation_currency": "CNY",
                        "transportation_cost": "0.00",
                        "other_cost": "0.00",
                        "other_currency": "CNY"
                    }
                ],
                "shipping_goods": [
                    {
                        "whbCodeInfo": null,
                        "platform_name": "Walmart",
                        "country_name": "美国",
                        "store_name": "test6自创walmart测试店铺3号",
                        "cargo_code": "lry-shipment-47",
                        "msku": "lry-sku3-47",
                        "product_name": "ww-0825-01",
                        "sku": "ww-0825-01",
                        "goods_url": "",
                        "quantity_in_case": "0",
                        "box_num": "0",
                        "cbm": "0.00",
                        "cg_product_net_weight": "0.00",
                        "cg_product_gross_weight": "0.00",
                        "box_wet_weight": "0.00",
                        "box_gross_weight": "0.00",
                        "volume_weight": "0.00",
                        "apply_num": "10",
                        "shipments_num": "10",
                        "total_nw": "0.00",
                        "total_gw": "0.00",
                        "tax_amount": "0.00",
                        "tax_currency": "USD",
                        "remark": "",
                        "spec_info": {
                            "cg_product_net_weight": "0.00",
                            "spec_pack_list": [
                                {
                                    "pps_id": "210324392619860481",
                                    "spec_title": "默认箱规",
                                    "is_default": "1",
                                    "cg_box_pcs": "0",
                                    "cg_box_length": "0.00",
                                    "cg_box_width": "0.00",
                                    "cg_box_height": "0.00",
                                    "cg_package_length": "0.00",
                                    "cg_package_width": "0.00",
                                    "cg_package_height": "0.00",
                                    "cg_product_gross_weight": "0.00",
                                    "cg_box_weight": "0.00"
                                }
                            ]
                        },
                        "box_length": "0.00",
                        "box_width": "0.00",
                        "box_height": "0.00",
                        "package_length": "0.00",
                        "package_width": "0.00",
                        "package_height": "0.00",
                        "box_weight": "0.00",
                        "spec_id": "210258979648459236",
			            "store_id":"110000000017008001",
                    }
                ],
                "shipping_accessories": null,
                "shipping_first_lets": null
            }
        ]
    }
}

返回失败示例

{
    "code": 1,
    "message": "参数检验不通过",
    "error_details": ["length: length 最小值为1"],
    "request_id": "f4044649b1be46398c7eb4e6eb6ab6d5.1684735739946",
    "response_time": "2023-05-22 14:08:59",
    "data": null
}