Lingxing
切换旧版

查询FBA发货计划

POST/erp/sc/data/fba_report/shipmentPlanLists

接口信息

API Path请求协议请求方式令牌桶容量
/erp/sc/data/fba_report/shipmentPlanListsHTTPSPOST1

请求参数

sidsstring
店铺ids,12,13组成,对应查询亚马逊店铺列表接口对应字段【sid】
widstring
仓库id
packing_typestring
包装类型2原装 1混装
search_field_timestring
查找时间字段(gmt_create-创建时间,estimated_delivery_time-计划发货时间),不传该字段默认为gmt_create
search_fieldstring
查找字段 order_sn发货计划单号
search_valuestring
查找值
statusstring
状态
midsstring
国家id
offsetinteger
偏移量 0 偏移量 (currentPage -1) * length
lengthinteger
长度 默认20
start_datestring
开始日期 如:2021-09-07
end_datestring
结束日期 如:2021-09-08

请求cURL示例

curl --location 'https://openapi.lingxing.com/erp/sc/data/fba_report/shipmentPlanLists?access_token=value&timestamp=value&sign=value&app_key=value' \
--header 'Content-Type: application/json' \
--data '{
    "sids": "",
    "wid": "",
    "packing_type": "",
    "search_field_time": "gmt_create",
    "search_field": "create_user",
    "search_value": "",
    "status": "",
    "mids": "",
    "offset": 0,
    "length": 20,
    "start_date": "",
    "end_date": ""
}'

返回结果

codeinteger必填
错误码 0成功
示例 1
messagestring必填
消息
示例 请求成功
request_idstring必填
请求id
示例 936D6C3B-D4FE-0F89-9328-FA1D0DF6813B
dataarray<object>必填
发货计划组列表
隐藏子属性
ispg_idinteger必填
发货计划组id
示例 181
create_timestring必填
创建时间
示例 2021-09-27 10:27:46
seqstring必填
批次号
示例 RP210927003
remarkstring必填
创建时间
create_userstring必填
创建用户
示例 吴姗珊
custom_fieldsarray<object>必填
自定义字段
隐藏子属性
idstring必填
字段ID
namestring必填
字段名
val_textstring必填
字段值
listarray<object>必填
子项目列表
隐藏子属性
ispg_idinteger必填
发货计划组父ID
示例 181
isp_idinteger必填
发货计划id
示例 426
logistics_channel_idinteger必填
物流ID
示例 0
custom_fieldsarray<object>必填
自定义字段
隐藏子属性
idstring必填
字段ID
namestring必填
字段名
val_textstring必填
字段值
fnskustring必填
fnsku
示例 X000XF6OGV
mskustring必填
seller_sku
widinteger必填
仓库id
示例 68200
wnamestring必填
仓库名称
示例 012.10
sidinteger必填
店铺id
示例 1206
create_timestring必填
创建时间
示例 2021-09-27 10:27:46
statusinteger必填
状态:
-5、已驳回,
0、待审核,
5、待处理,
10、已处理
示例 10
packing_typeinteger必填
包装类型 2原装 1混装
示例 1
shipment_timestring必填
计划发货时间
shipment_plan_quantityinteger必填
计划发货量
示例 2000
seqstring必填
批次号
示例 RP210927003
logistics_namestring必填
物流名称
quantity_in_caseinteger必填
单箱数量
示例 2000
box_numinteger必填
箱数
示例 1
is_relate_mwsinteger必填
是否关联货件
示例 1
is_relate_listinteger必填
是否关联发货单
示例 1
remarkstring必填
备注
print_numinteger必填
打印次数
示例 0
create_userstring必填
创建用户
示例 吴姗珊
small_image_urlstring必填
商品图片
order_snstring必填
计划发货单号
示例 R210927006
product_namestring必填
产品名称
示例 辅料管理5
product_idinteger必填
产品id
示例 89981
skustring必填
sku
示例 辅料管理5
pic_urlstring必填
商品图片
is_combointeger必填
是否组合商品
示例 0
cg_package_lengthstring必填
包装长(CM,2位小数)
cg_package_heightstring必填
包装高(CM,2位小数)
cg_package_widthstring必填
包装宽(CM,2位小数)
cg_box_lengthstring必填
箱子长(CM,2位小数)
cg_box_widthstring必填
箱子宽(CM,2位小数)
cg_box_heightstring必填
箱子高(CM,2位小数)
cg_box_weightstring必填
单箱重量(KG,2位小数)
cg_box_net_weightstring必填
单箱净重(KG,2位小数)
cg_box_gross_weightstring必填
单箱毛重(KG,2位小数)
is_urgentinteger必填
是否加急(0-否,1-是)
storage_listarray<object>必填
库存列表
隐藏子属性
product_idinteger必填
商品id
示例 89981
product_valid_numinteger必填
库存可用量
示例 6000
product_qc_numinteger必填
待检量
示例 0
quantity_receiveinteger必填
待收货量
示例 0
mws_relatearray<object>必填
发货单关联
隐藏子属性
isim_idinteger必填
关联货件id
示例 11039
isil_idinteger必填
关联发货单id
示例 1034
isilm_idinteger必填
关联发货单明细id
示例 3495
shipment_plan_snstring必填
关联发货计划单号
示例 R210927006
shipment_mws_snstring必填
关联货件单号
示例 FBA15CS95XDX
shipment_list_snstring必填
关联发货单单号
示例 SP210927003
shipment_plan_quantityinteger必填
关联发货计划数量
示例 2000
shipment_mws_quantityinteger必填
关联货件数量
示例 2000
shipment_list_quantityinteger必填
关联发货单数量
示例 2000
is_stastring必填
是否sta货件,1:是,0:否
sta_shipment_idstring必填
sta的shipmentId
sta_inbound_plan_idstring必填
sta任务编号
status_namestring必填
状态名称
示例 已处理
packing_type_namestring必填
包装类型名称
示例 混装
diff_numinteger必填
差额
示例 4000
snamestring必填
店铺
示例 AK-quanqiu-JP-test7-JP
nationstring必填
国家
示例 日本
lock_statusinteger必填
锁定状态:1-未锁定 2-已锁定 3-已使用
示例 1
totalinteger必填
发货计划量总数
示例 179
error_detailsarray<any>必填
错误信息
response_timestring必填
响应时间

返回成功示例

{
    "code": 0,
    "message": "请求成功",
    "require_id": "936D6C3B-D4FE-0F89-9328-FA1D0DF6813B",
    "data": [
      {
        "ispg_id": 181,
        "create_time": "2021-09-27 10:27:46",
        "seq": "RP210927003",
        "remark": "",
        "create_user": "吴姗珊",
        "custom_fields": [{
            "id": "",
            "name": "",
            "val_text": ""
        }],
        "list": [{
            "ispg_id": 181,
            "isp_id": 426,
            "logistics_channel_id": 0,
            "custom_fields": [{
                "id": "",
                "name": "",
                "val_text": ""
            }],
            "fnsku": "X000XF6OGV",
            "msku": "",
            "wid": 68200,
            "wname": "012.10",
            "sid": 1206,
            "create_time": "2021-09-27 10:27:46",
            "status": 10,
            "packing_type": 1,
            "shipment_time": "",
            "shipment_plan_quantity": 2000,
            "seq": "RP210927003",
            "logistics_name": "",
            "quantity_in_case": 2000,
            "box_num": 1,
            "is_relate_mws": 1,
            "is_relate_list": 1,
            "remark": "",
            "print_num": 0,
            "create_user": "吴姗珊",
            "small_image_url": "",
            "order_sn": "R210927006",
            "product_name": "辅料管理5",
            "product_id": 89981,
            "sku": "辅料管理5",
            "pic_url": "",
            "is_combo": 0,
            "cg_package_length": "",
            "cg_package_height": "",
            "cg_package_width": "",
            "cg_box_length": "",
            "cg_box_width": "",
            "cg_box_height": "",
            "cg_box_weight": "",
            "cg_box_net_weight": "",
            "cg_box_gross_weight": "",
            "is_urgent": 0,
            "storage_list": [{
                "product_id": 89981,
                "product_valid_num": 6000,
                "product_qc_num": 0,
                "quantity_receive": 0
            }],
            "mws_relate": [{
                "isim_id": 11039,
                "isil_id": 1034,
                "isilm_id": 3495,
                "shipment_plan_sn": "R210927006",
                "shipment_mws_sn": "FBA15CS95XDX",
                "shipment_list_sn": "SP210927003",
                "shipment_plan_quantity": 2000,
                "shipment_mws_quantity": 2000,
                "shipment_list_quantity": 2000,
                "is_sta": "",
                "sta_shipment_id": "",
                "sta_inbound_plan_id": ""
            }],
            "status_name": "已处理",
            "packing_type_name": "混装",
            "diff_num": 4000,
            "sname": "AK-quanqiu-JP-test7-JP",
            "nation": "日本",
            "lock_status": 1
        }]
    }],
    "total": 179
    "error_details": [],
    "response_time": ""
}