跳轉到主要內容
GET
Get consolidate shipping order
此頁面由 AI 自動翻譯。API 技術規格以英文呈現為標準。如有任何疑問,請參閱英文版本。
回傳一張 Consolidate Shipping Order 及其明細和 Shipment。 RH_WAREHOUSE 訂單的 shipTo 為目的地倉庫地址,packagingType 為 null。shippingFee 為各 Shipment 運費總和。 訂單不存在或不屬於您的帳戶時,回傳 meta.status: 404。 要追蹤變更,請使用 Consolidate Shipping 的 webhook,而非反覆呼叫此端點。

授權

x-rr-apikey
string
header
必填

Your API key

x-rr-apitoken
string
header
必填

Your API token — keep this private

查詢參數

consolidateShippingOrderId
string
必填

Consolidate shipping order ID (ULID)

回應

Success

consolidateShippingOrderId
string

ULID

consolidateShippingOrderNumber
string
outboundWarehouseId
integer<int32>
destinationType
enum<string>
可用選項:
CUSTOM_ADDRESS,
RH_WAREHOUSE
destinationWarehouseId
integer<int32> | null

RH_WAREHOUSE orders only

packagingType
enum<string> | null

null on RH_WAREHOUSE orders and on CUSTOM_ADDRESS orders created without one.

可用選項:
BOX,
PALLET,
null
shippingFee
number<decimal>

Sum of the shipments' shipping fees

deliveryInstructions
string | null
consolidateShippingOrderStatus
string
shipTo
object

On RH_WAREHOUSE orders, the destination warehouse's address

customFieldMap
object | null
pendingInventoryList
object[]

Lines not yet packed

inProgressInventoryList
object[]

Lines partly packed. quantity is the pieces still to pack

shipmentList
object[]