开发者文档
派送方式查询

接口说明

通过本接口用户可通过提交海外仓ID来查询该仓库对应的派送方式。

使用场景

通过该接口,用户可查询库仓对应的所有派送方式,选择合适的派送方式。

请求说明

URL

http://api.winit.com.cn/ADInterface/api

接口测试

http://erp.sandbox.winit.com.cn/ADInterface/api

验证方式

Token,md5

格式

json

http请求方式

http

请求数限制

默认每分钟300,有需要可以申请加大

 

参数说明

名称

类型

必填

参数说明

示例

warehouseID

String(10)

Y

由万邑通定义的仓库ID,每个仓库有唯一一个对应的ID。


请求示例

{

    "action":"queryDeliveryWay",
    "app_key":"rebecca",
    "data":{
        "warehouseID":1000008
    }
,
    "format":"json",
    "language":"zh_CN",
    "platform":"SELLERERP",
    "sign":"00000000000000000000000000000000",
    "sign_method":"md5",
    "timestamp":"2015-06-16 00:19:26",
    "version":"1.0"
}

返回结果示例

{
    "code":0,
    "data":[
        {
            "deliveryID":1000019,
            "deliveryWay":"AU Post Large Letter(With Registration)",
            "warehouseID":1000001
        }
,
        {
            "deliveryID":1000020,
            "deliveryWay":"AU Post eParcel",
            "warehouseID":1000001
        }
,
        {
            "deliveryID":1000021,
            "deliveryWay":"AU Post Parcel Post(With Registration)",
            "warehouseID":1000001
        }
,
        {
            "deliveryID":1000023,
            "deliveryWay":"AU Post Large Letter (No Registration)",
            "warehouseID":1000001
        }
,
        {
            "deliveryID":1000024,
            "deliveryWay":"AU Post Parcel Post (No Registration)",
            "warehouseID":1000001
        }
,
        {
            "deliveryID":1000025,
            "deliveryWay":"Toll IPEC",
            "warehouseID":1000001
        }
,
        {
            "deliveryID":1000027,
            "deliveryWay":"Toll Priority",
            "warehouseID":1000001
        }
,
        {
            "deliveryID":1000188,
            "deliveryWay":"AU Post Small Letter(With Registration)",
            "warehouseID":1000001
        }
,
        {
            "deliveryID":1000189,
            "deliveryWay":"AU Post Small Letter (No Registration)",
            "warehouseID":1000001
        }
,
        {
            "deliveryID":1000190,
            "deliveryWay":"AU Post Express",
            "warehouseID":1000001
        }

    ]
,
    "msg":"成功"
}

返回参数说明

正确的返回结果:查询成功。

名称

类型

说明

deliveryWay

String

派送方式名称

deliveryID

String()

派送方式ID

isMandoorplateNumbers

String(1)

派送方式是否门牌号必填

warehouseID

String()

海外仓仓库ID

错误的返回结果:错误码,错误信息