/basicOpen/wmsOrder/getWmsOrdersByOrderNumbers{
"operation": {
"method": "POST",
"path": "/basicOpen/wmsOrder/getWmsOrdersByOrderNumbers"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/wmsOrder/getWmsOrdersByOrderNumbers?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"isPrintCenter\": 1,\n \"orderNumbers\": \"103560730955456512,103560730955456513\"\n}'",
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "a0d54debf93140f3b58d1ed81e8e3583.178.17255922733991817",
"response_time": "2024-11-12 16:00:00",
"data": {
"orderCount": 2,
"orderList": [
{
"actualCarrier": "顺丰快递",
"amazonOrderId": "40906",
"autoComplete": 0,
"batchNo": "BATCH001",
"companyId": 901157321452879900,
"isAdvanceDelivery": 0,
"isCheck": 0,
"isLockStorage": 1,
"isOrderPrint": 0,
"isSurfacePrint": 0,
"isWeigh": 0,
"logisticsProviderName": "自定义物流商",
"logisticsTypeName": "wjc自定义物流",
"orderBuyerNotes": "请尽快发货",
"orderCustomerServiceNotes": "已联系客户确认地址",
"orderFrom": 2,
"orderNumber": "103560730955456512",
"orderType": 3,
"platformCode": 10011,
"productInfo": [
{
"asin": "B08C1234RM",
"cnName": "测试测",
"count": 1,
"currencyCode": "$",
"enName": "ceshice",
"itemUnitPrice": "8.99",
"picUrl": "",
"productId": 1,
"productName": "123342",
"remark": "客户要求加急",
"sellerSku": "aa0001",
"sku": "12123",
"title": "Water Sports",
"unitPrice": "0.25",
"whbInfo": [
{
"productPickNum": 1,
"whbCode": "ts_valid"
}
],
"wodId": 2651
}
],
"productList": [
{
"cnName": "测试产品",
"enName": "Test Product",
"pickList": [
{
"pickProductName": "040906",
"pickQuantity": 2,
"pickSku": "040906",
"pickWhbCode": "可用暂存"
}
],
"sku": "040906",
"whbList": [
{
"productPickNum": 2,
"whbId": 26971,
"whbName": "可用暂存"
}
]
}
],
"referenceNo": "REF001",
"sid": 110470479434055680,
"siteCode": "US",
"status": 2,
"surfaceFileId": "1825",
"surfacePdf": "",
"trackingNo": "112",
"warehouseType": 1,
"waybillNo": "123",
"wid": 3262,
"woId": 126758,
"woNumber": "WO103560733392438272",
"zid": 1
},
{
"actualCarrier": "圆通快递",
"amazonOrderId": "40907",
"autoComplete": 1,
"batchNo": "BATCH002",
"companyId": 901157321452879900,
"isAdvanceDelivery": 0,
"isCheck": 1,
"isLockStorage": 1,
"isOrderPrint": 1,
"isSurfacePrint": 1,
"isWeigh": 1,
"logisticsProviderName": "自建物流",
"logisticsTypeName": "陆运",
"orderBuyerNotes": "请加急发货,谢谢",
"orderCustomerServiceNotes": "客户已更改地址",
"orderFrom": 1,
"orderNumber": "103643522853101719",
"orderType": 2,
"platformCode": 10012,
"productInfo": [
{
"asin": "B08C5678YZ",
"cnName": "耳机",
"count": 2,
"currencyCode": "$",
"enName": "Headphones",
"itemUnitPrice": "15.99",
"picUrl": "",
"productId": 2,
"productName": "无线耳机",
"remark": "轻拿轻放",
"sellerSku": "bb0002",
"sku": "45678",
"title": "Wireless Headphones",
"unitPrice": "0.50",
"whbInfo": [
{
"productPickNum": 2,
"whbCode": "whb_zone_a"
}
],
"wodId": 2652
},
{
"asin": "B08D9012AB",
"cnName": "手机壳",
"count": 1,
"currencyCode": "$",
"enName": "Phone Case",
"itemUnitPrice": "5.00",
"picUrl": "",
"productId": 3,
"productName": "iPhone保护壳",
"remark": "黑色款",
"sellerSku": "cc0003",
"sku": "90123",
"title": "iPhone Protective Case",
"unitPrice": "0.10",
"whbInfo": [
{
"productPickNum": 1,
"whbCode": "whb_zone_b"
}
],
"wodId": 2653
}
],
"productList": [
{
"cnName": "耳机",
"enName": "Headphones",
"pickList": [
{
"pickProductName": "耳机",
"pickQuantity": 2,
"pickSku": "45678",
"pickWhbCode": "A区货架"
}
],
"sku": "45678",
"whbList": [
{
"productPickNum": 2,
"whbId": 26972,
"whbName": "A区货架"
}
]
},
{
"cnName": "手机壳",
"enName": "Phone Case",
"pickList": [
{
"pickProductName": "手机壳",
"pickQuantity": 1,
"pickSku": "90123",
"pickWhbCode": "B区货架"
}
],
"sku": "90123",
"whbList": [
{
"productPickNum": 1,
"whbId": 26973,
"whbName": "B区货架"
}
]
}
],
"referenceNo": "REF002",
"sid": 110470479434055680,
"siteCode": "DE",
"status": 3,
"surfaceFileId": "1826",
"surfacePdf": "",
"trackingNo": "113",
"warehouseType": 1,
"waybillNo": "456",
"wid": 3263,
"woId": 126759,
"woNumber": "WO103643522853101719",
"zid": 1
}
],
"total": 2
}
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | isPrintCenter | 是否需要拣货信息 | integer | — | 可选 | 是否需要拣货信息,枚举值:1-是, 0-否 |
| 2 | orderNumbers | 系统单号 | string | — | 可选 | 系统单号,必填,多个以逗号连接 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 响应码 | integer | — | 必填 | 响应码 |
| 2 | data | 返回数据 | object | — | 必填 | 返回数据 |
| 2.1 | orderCount | 订单数量 | integer | 2 | 必填 | 订单数量 |
| 2.2 | orderList | 订单列表 | array<object> | — | 必填 | 订单列表 |
| 2.2.1 | actualCarrier | 实际承运商 | string | 顺丰快递 | 必填 | 实际承运商 |
| 2.2.2 | amazonOrderId | 平台单号 | string | 40906 | 必填 | 平台单号 |
| 2.2.3 | autoComplete | 是否快速出库 | integer | 0 | 必填 | 是否快速出库,枚举值:1-是, 0-否 |
| 2.2.4 | batchNo | 波次号 | string | BATCH001 | 必填 | 波次号 |
| 2.2.5 | companyId | 企业ID | integer | 901157321452879900 | 必填 | 企业ID |
| 2.2.6 | isAdvanceDelivery | 是否预发货 | integer | 0 | 必填 | 是否预发货,枚举值:1-是, 0-否 |
| 2.2.7 | isCheck | 是否已验货 | integer | 0 | 必填 | 是否已验货,枚举值:1-是, 0-否 |
| 2.2.8 | isLockStorage | 是否已锁定库存 | integer | 1 | 必填 | 是否已锁定库存,枚举值:1-是, 0-否 |
| 2.2.9 | isOrderPrint | 是否已打印发货单 | integer | 0 | 必填 | 是否已打印发货单,枚举值:1-是, 0-否 |
| 2.2.10 | isSurfacePrint | 是否已打印面单 | integer | 0 | 必填 | 是否已打印面单,枚举值:1-是, 0-否 |
| 2.2.11 | isWeigh | 是否已称重 | integer | 0 | 必填 | 是否已称重,枚举值:1-是, 0-否 |
| 2.2.12 | logisticsProviderName | 物流商名称 | string | 自定义物流商 | 必填 | 物流商名称 |
| 2.2.13 | logisticsTypeName | 物流方式名称 | string | wjc自定义物流 | 必填 | 物流方式名称 |
| 2.2.14 | orderBuyerNotes | 买家备注 | string | 请尽快发货 | 必填 | 买家备注 |
| 2.2.15 | orderCustomerServiceNotes | 客服备注 | string | 已联系客户确认地址 | 必填 | 客服备注 |
| 2.2.16 | orderFrom | 订单来源 | integer | 2 | 必填 | 订单来源,枚举值:1-线上订单, 2-手工订单, 3-补发订单 |
| 2.2.17 | orderNumber | 系统单号 | string | 103560730955456512 | 必填 | 系统单号 |
| 2.2.18 | orderType | 订单类型 | integer | 3 | 必填 | 订单类型,枚举值:1-一单一件, 2-多品多件, 3-单品多件 |
| 2.2.19 | platformCode | 平台代码 | integer | 10011 | 必填 | 平台代码 |
| 2.2.20 | productInfo | 商品信息列表 | array<object> | — | 必填 | 商品信息列表 |
| 2.2.20.1 | asin | ASIN 或 MSKU ID | string | B08C1234RM | 必填 | ASIN 或 MSKU ID |
| 2.2.20.2 | cnName | 中文名 | string | 测试测 | 必填 | 中文名 |
| 2.2.20.3 | count | 商品数量 | integer | 1 | 必填 | 商品数量 |
| 2.2.20.4 | currencyCode | 币种 | string | $ | 必填 | 币种 |
| 2.2.20.5 | enName | 英文名 | string | ceshice | 必填 | 英文名 |
| 2.2.20.6 | itemUnitPrice | 商品单价 | string | 8.99 | 必填 | 商品单价 |
| 2.2.20.7 | picUrl | 图片链接 | string | — | 必填 | 图片链接 |
| 2.2.20.8 | productId | 商品ID | integer | 1 | 必填 | 商品ID |
| 2.2.20.9 | productName | 品名 | string | 123342 | 必填 | 品名 |
| 2.2.20.10 | remark | 商品备注 | string | 客户要求加急 | 必填 | 商品备注 |
| 2.2.20.11 | sellerSku | sellerSku | string | aa0001 | 必填 | MSKU |
| 2.2.20.12 | sku | sku | string | 12123 | 必填 | SKU |
| 2.2.20.13 | title | 商品标题 | string | Water Sports | 必填 | 商品标题 |
| 2.2.20.14 | unitPrice | 单价 | string | 0.25 | 必填 | 单价 |
| 2.2.20.15 | whbInfo | 仓位信息列表 | array<object> | — | 必填 | 仓位信息列表 |
| 2.2.20.15.1 | productPickNum | 待拣货数量 | integer | 1 | 必填 | 待拣货数量 |
| 2.2.20.15.2 | whbCode | 仓位编码 | string | ts_valid | 必填 | 仓位编码 |
| 2.2.20.16 | wodId | 订单商品ID | integer | 2651 | 必填 | 订单商品ID |
| 2.2.21 | productList | 商品列表(拣货) | array<object> | — | 必填 | 商品列表(拣货) |
| 2.2.21.1 | cnName | 中文名 | string | 测试产品 | 必填 | 中文名 |
| 2.2.21.2 | enName | 英文名 | string | Test Product | 必填 | 英文名 |
| 2.2.21.3 | pickList | 拣货列表(适用于自动生成加工单 | array<object> | — | 必填 | 拣货列表(适用于自动生成加工单, 组合商品拣货子产品场景) |
| 2.2.21.3.1 | pickProductName | 拣货品名 | string | 040906 | 必填 | 拣货品名 |
| 2.2.21.3.2 | pickQuantity | 拣货数量 | integer | 2 | 必填 | 拣货数量 |
| 2.2.21.3.3 | pickSku | 拣货SKU | string | 040906 | 必填 | 拣货SKU |
| 2.2.21.3.4 | pickWhbCode | 拣货仓位代码 | string | 可用暂存 | 必填 | 拣货仓位代码 |
| 2.2.21.4 | sku | sku | string | 040906 | 必填 | SKU |
| 2.2.21.5 | whbList | 仓位列表 | array<object> | — | 必填 | 仓位列表 |
| 2.2.21.5.1 | productPickNum | 拣货数量 | integer | 2 | 必填 | 拣货数量 |
| 2.2.21.5.2 | whbId | 仓位ID | integer | 26971 | 必填 | 仓位ID |
| 2.2.21.5.3 | whbName | 仓位名称 | string | 可用暂存 | 必填 | 仓位名称 |
| 2.2.22 | referenceNo | 参考号 | string | REF001 | 必填 | 参考号 |
| 2.2.23 | sid | 店铺ID | integer | 110470479434055680 | 必填 | 店铺ID |
| 2.2.24 | siteCode | 站点代码 | string | US | 必填 | 站点代码 |
| 2.2.25 | status | 状态 | integer | 2 | 必填 | 状态,枚举值:1-物流下单, 2-发货中, 3-已发货, 4-已删除 |
| 2.2.26 | surfaceFileId | 面单ID | string | 1825 | 必填 | 面单ID |
| 2.2.27 | surfacePdf | 面单PDF链接 | string | — | 必填 | 面单PDF链接 |
| 2.2.28 | trackingNo | 跟踪号 | string | 112 | 必填 | 跟踪号 |
| 2.2.29 | warehouseType | 仓库类型 | integer | 1 | 必填 | 仓库类型 |
| 2.2.30 | waybillNo | 运单号 | string | 123 | 必填 | 运单号 |
| 2.2.31 | wid | 仓库ID | integer | 3262 | 必填 | 仓库ID |
| 2.2.32 | woId | 销售出库单ID | integer | 126758 | 必填 | 销售出库单ID |
| 2.2.33 | woNumber | 销售出库单号 | string | WO103560733392438272 | 必填 | 销售出库单号 |
| 2.2.34 | zid | 企业ID | integer | 1 | 必填 | 企业ID |
| 3 | error_details | 错误详情 | array<any> | — | 必填 | 错误详情 |
| 4 | message | 提示信息 | string | — | 必填 | 提示信息 |
| 5 | request_id | 请求id | string | — | 必填 | 请求id |
| 6 | response_time | 响应时间 | string | — | 必填 | 响应时间 |
| 7 | total | 总记录数 | integer | — | 必填 | 总记录数 |
领星ERP的接口:查询销售出库单详情(/basicOpen/wmsOrder/getWmsOrdersByOrderNumbers),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。