Skip to main content
GET
Get warehouse details by ID (Public API)
通过 warehouseId 获取单个仓库的详细信息。在用户提交退货前,例如需要显示目标仓库名称时,请从 Public API 调用此接口。 如果您使用的是 User API,请参阅获取仓库详情(User API)

授权

x-rr-apikey
string
header
必填

Your API key

x-rr-apitoken
string
header
必填

Your API token — keep this private

查询参数

warehouseId
integer<int32>
必填

Warehouse identifier

响应

Success

warehouseId
integer<int32>

Warehouse unique identifier

countryCode
string | null

Lowercase ISO3 country code (e.g. "usa")

contactName
string | null

Contact name

companyName
string | null

Company name

phone
string | null

Phone number

email
string | null

Email address

fax
string | null

Fax number

street1
string | null

Address line 1

street2
string | null

Address line 2

street3
string | null

Address line 3

state
string | null

State / province

city
string | null

City

postalCode
string | null

Postal code

addressType
string | null

Address type

description
string | null

Free-text warehouse description. There is no separate warehouseName field — use warehouseId as the stable reference key.

warehouseRmaPrefix
string | null

Warehouse RMA prefix used in inbound parcel identifiers