获取Fba仓
场景说明
根据Fba仓库代码获取仓库信息
接口名
{域名}/api/svc/getFBAWarehouse
请求方式
POST
Header请求头
参数名 | 是否必填 | 类型 | 说明 |
---|---|---|---|
Authorization | 是 | string | 授权码:访问授权 Token |
请求参数
参数名 | 二级参数名 | 是否必填 | 类型 | 说明 |
---|---|---|---|---|
warehouse_code | 是 | string | FBA仓代码:四位代码,如ONT2 |
输入示例(body)
{"warehouse_code":"ONT2"}
返回参数
参数名 | 二级参数名 | 是否必填 | 类型 | 说明 |
---|---|---|---|---|
code | - | 是 | string | 响应码,200-成功 |
result | - | 是 | object | 响应结果 |
msg | - | 是 | string | 响应消息 |
-result | warehouse_code | 否 | string | 仓库代码 |
-result | company | 否 | string | 公司名称 |
-result | country_code | 否 | string | 国家代码 |
-result | state | 否 | integer | 州,两位大写简称 |
-result | city | 否 | string | 城市 |
-result | street | 否 | string | 街道1 |
-result | street2 | 否 | string | 街道2 |
-result | street3 | 否 | string | 街道3 |
-result | doorplate | 否 | string | 门牌号 |
-result | phone | 否 | string | 电话号码 |
-result | telphone | 否 | string | 座机号 |
-result | fax | 否 | string | 传真 |
-result | postcode | 否 | string | 邮编 |
-result | mailbox | 否 | string | 邮箱 |
-result | firstname | 否 | string | 姓 |
-result | lastname | 否 | string | 名 |
输出示例
{
"code": 200,
"result": [
{
"warehouse_code": "ONT2",
"company": "Amazon.com Services, Inc.",
"country_code": "US",
"state": "CA",
"city": "San Bernardino",
"street": "1910 E central Ave",
"street2": "",
"street3": "",
"doorplate": "",
"phone": "8882804331",
"telphone": "8882804331",
"fax": "",
"postcode": "92408",
"mailbox": "",
"firstname": "ONT2",
"lastname": ""
}
],
"msg": "success"
}