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