1. Inbound Orders
GWMS Public API
  • 使用Java SDK快速集成
  • auth
    • 获取访问令牌
      POST
  • Warehouses
    • 列出仓库
      GET
  • Product SPUs
    • 列出产品SPU
      GET
    • 创建一个产品SPU
      POST
    • 通过SPU编码获取产品SPU
      GET
    • 通过SPU编码更新产品SPU(完整)
      PUT
    • 通过SPU编码删除产品SPU
      DELETE
  • Products
    • 列出产品
      GET
    • 创建一个产品
      POST
    • 批量创建产品
      POST
    • 通过SKU编码获取产品
      GET
    • 通过SKU编码更新产品(完整)
      PUT
    • 通过SKU编码删除产品
      DELETE
  • Inbound Orders
    • 列出入库单
      GET
    • 通过入库单号获取入库单
      GET
    • 创建入库单
      POST
    • 打印入库箱唛
      POST
    • 通过入库单号更新入库单
      PUT
    • 通过入库单号取消入库单
      DELETE
    • 更新入库单状态
      PATCH
  • OutboundOrder
    • 创建出库单
      POST
    • 取消出库单
      POST
    • 分页查询出库单
      GET
    • 物流费试算 (按sku)
      POST
    • 物流费试算 (按长宽高)
      POST
  • Stock
    • 查询库存明细(支持分页或全量)
    • 库存日志查询
    • 查询产品库存
    • 分页查询产品库存
  • ExpressChannel
    • 获取所有物流渠道
  • Charge
    • 查询计费流水列表
  • Serial Numbers
    • 查看入库单序列号
    • 写入入库单序列号
    • 查询序列号
  1. Inbound Orders

通过入库单号获取入库单

GET
/api/v1/inbound/orders/{inboundNo}
Inbound Orders
通过入库单号检索特定入库单的详细信息,包括明细和箱子信息。 所需权限: inbound:read 使用场景: - 查询入库单详细状态和进度 - 获取入库明细用于对账 - 追踪特定入库单的处理情况

请求参数

Authorization
JWT Bearer
在 Header 添加参数
Authorization
示例:
Authorization: ********************
or
Path 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://gwms.jmalltech.com/api-gateway/api/v1/inbound/orders/' \
--header 'Authorization: Bearer <token>'

返回响应

🟢200成功
application/json
入库单详情。
Bodyapplication/json

示例
{
    "success": true,
    "message": "操作成功",
    "code": "200",
    "timestamp": "2024-01-01T00:00:00Z",
    "data": {
        "createBy": 1,
        "createTime": "2024-01-01T10:00:00Z",
        "updateBy": 1,
        "updateTime": "2024-01-01T10:30:00Z",
        "params": "{key1=value1, key2=value2}",
        "inboundNo": "IB202501130001",
        "inboundType": "DROPSHIPPING",
        "arriveMethod": "LCL_LT25KG",
        "containsPalletSku": true,
        "purePalletSku": true,
        "expectedQuantityByUnit": {
            "property1": 0,
            "property2": 0
        },
        "receivedQuantityByUnit": {
            "property1": 0,
            "property2": 0
        },
        "putawayQuantityByUnit": {
            "property1": 0,
            "property2": 0
        },
        "expectedPalletCount": 2,
        "asnOrderCode": "ASN202501130001",
        "ownerCode": "OWNER-001",
        "ownerName": "示例货主公司",
        "warehouseCode": "WH-BJ-001",
        "warehouseName": "北京仓库",
        "status": "DRAFT",
        "transportType": "AIR",
        "expectArriveTime": "2025-01-15T10:00:00Z",
        "trackingNo": "SF1234567890",
        "carrierCode": "CARRIER-SF",
        "attachmentUrls": "https://example.com/doc1.pdf,https://example.com/doc2.pdf",
        "totalBoxReceive": 5,
        "totalSkuReceive": 20,
        "totalSkuPutaway": 18,
        "totalBoxAsn": 6,
        "totalSkuAsn": 25,
        "lastReceiveTime": "2025-01-13T15:30:00Z",
        "isMetric": true,
        "remark": "特殊处理要求",
        "boxes": [
            {
                "createBy": 1,
                "createTime": "2024-01-01T10:00:00Z",
                "updateBy": 1,
                "updateTime": "2024-01-01T10:30:00Z",
                "params": "{key1=value1, key2=value2}",
                "boxNo": "BOX-001",
                "boxStartNo": 1,
                "boxEndNo": 5,
                "boxCount": 5,
                "dimensions": {
                    "length": 20.5,
                    "width": 15.5,
                    "height": 10.5
                },
                "weight": {
                    "weight": 1.25
                },
                "totalVolume": 1580.25,
                "totalWeight": 6.25,
                "details": [
                    {
                        "createBy": 1,
                        "createTime": "2024-01-01T10:00:00Z",
                        "updateBy": 1,
                        "updateTime": "2024-01-01T10:30:00Z",
                        "params": "{key1=value1, key2=value2}",
                        "boxCode": "BOX-001",
                        "skuCode": "EXT-WIDGET-001",
                        "skuUnit": "PALLET",
                        "skuName": "高品质小工具",
                        "quantity": 10,
                        "dimensions": {
                            "length": 20.5,
                            "width": 15.5,
                            "height": 10.5
                        },
                        "weight": {
                            "weight": 1.25
                        },
                        "expirationDate": "2025-12-31",
                        "productionDate": "2025-01-01",
                        "skuAttributes": "{\"color\":\"red\",\"size\":\"L\"}",
                        "inTransitQuantity": 5,
                        "receivedQuantity": 8,
                        "putawayedQuantity": 5
                    }
                ]
            }
        ],
        "skuDetails": [
            {
                "createBy": 1,
                "createTime": "2024-01-01T10:00:00Z",
                "updateBy": 1,
                "updateTime": "2024-01-01T10:30:00Z",
                "params": "{key1=value1, key2=value2}",
                "boxCode": "BOX-001",
                "skuCode": "EXT-WIDGET-001",
                "skuUnit": "PALLET",
                "skuName": "高品质小工具",
                "quantity": 10,
                "dimensions": {
                    "length": 20.5,
                    "width": 15.5,
                    "height": 10.5
                },
                "weight": {
                    "weight": 1.25
                },
                "expirationDate": "2025-12-31",
                "productionDate": "2025-01-01",
                "skuAttributes": "{\"color\":\"red\",\"size\":\"L\"}",
                "inTransitQuantity": 5,
                "receivedQuantity": 8,
                "putawayedQuantity": 5
            }
        ],
        "skuPutAways": [
            {
                "skuCode": "EXT-WIDGET-001",
                "goodPutAwayQty": 100,
                "badPutAwayQty": 5
            }
        ]
    }
}
🟠401Unauthorized
🟠404NotFound
🔴500InternalServerError
修改于 2026-10-20 09:30:09
上一页
列出入库单
下一页
创建入库单
Built with