TTWUSA APIV2

出库管理

查询出库单状态

查询出库状态。

POST
生产环境https://ssl.glitzcloud.com/agent/v1/orders/order/status
测试环境http://gztest.glitzcloud.com/agent/v1/orders/order/status

说明

1、功能名称:查询出库单状态

2、功能描述:查询出库单状态

鉴权说明

请参阅鉴权签名说明。

请求参数

名称类型必填示例值描述
store_nameStringThe Warehouse USA仓库名称
order_snStringG201608150001平台店铺订单编号

返回字段

参数类型示例值描述
snString20170703001平台店铺订单编号
statusStringPending订单状态Pending:待出库InProcess:处理中Shipped:已发货Cancelled:已取消
outbound_timeString2017-07-01 12:10:11发货时间
track_numString1Z7498950398981808物流单号
trouble_signStringShort of storage问题订单说明Short of storage:发货短缺Invalid Receipt Address:不合法的收货地址

示例

请求示例
{
    "format": "json",
    "apikey": "85082f5f62a811e684f500163e06045f",
    "randoms": 1234,
    "sign": "656d6fbe6b7dec6c2e77ffe27f04bd6d",
    "store_name": "The Warehouse USA",
    "order_sn": "G201608150001"
}
返回示例
// 待出库
{
    "status": 200,
    "reqMsg": "ok",
    "result": [
        {
            "sn": "121-17262173",
            "outbound_time": "",
            "track_num": "202502200006",
            "outflow_sn": "GCO02202500006",
            "status": "InProcess",
            "trouble_sign": "Normal"
        }
    ]
}
示例 3
// 已出库
{
    "status": 200,
    "reqMsg": "ok",
    "result": [
        {
            "sn": "121702",
            "status": "Shipped",
            "outbound_time": "2021-12-17 11:48:25",
            "track_num": "1Z3Y17R40399474839",
            "outflow_sn": "GCO12172100002",
            "extend": {
                "trackNum": {
                    "type": 1, // 2子订单
                    "content": {
                        "outflow_sn": "GCO12172100002",
                        "track_num": "1Z3Y17R40399474839",
                        "outflow_time": "2021-12-17 11:48:25",
                        "weight": "0.4536",
                        "length": "28.4100",
                        "width": "15.2500",
                        "height": "14.7400",
                        "carrier": "UPS",
                        "is_remote_area": false,
                        "ups_zone": "2",
                        "delivery": "UPS Ground",
                        "package": "Your Packaging"
                    }
                }, // 物流信息
                "storageCharge": {
                    "lydia110307": {
                        "amount": "8", // 数量
                        "price": "0.25", // 价格
                        "cost": "0.05000", // 仓储费
                        "discount": "0.80", // 折扣
                        "real_cost": "0.05000" // 实收费用
                    }
                } // 仓储费
            },
            "charge": [
                {
                    "charge_name": "Shipping",
                    "charge_price": "0.00",
                    "charge_amount": "1.00",
                    "charge_discount": "1.00",
                    "charge_total": "13.63",
                    "charge_currency": "usd",
                    "pay_status": "1",
                    "create_time": "2025-03-27 14:11:00"
                },
                {
                    "charge_name": "Processing/Handling",
                    "charge_price": "0.50",
                    "charge_amount": "1.00",
                    "charge_discount": "0.56",
                    "charge_total": "0.28",
                    "charge_currency": "usd",
                    "pay_status": "1",
                    "create_time": "2025-03-27 14:11:00"
                }
            ],
            "items": [
                {
                    "product_id": "238355",
                    "product_sn": "6941327103026",
                    "request_count": "1", // 预报数量
                    "shipped_count": "1", // 实际发货数量
                }
            ],
            "trouble_sign": "Normal"
        }
    ]
}
示例 4
{
    "status": "2554",
    "reqMsg": "Didn't find relevant order.",
    "result": []
}