跳轉到主要內容
POST
Add inventory to consolidate shipping order
此頁面由 AI 自動翻譯。API 技術規格以英文呈現為標準。如有任何疑問,請參閱英文版本。
將 Return Inventory(依 returnInventoryId)和 FBA 庫存(依 FNSKU)加入 CREATED 狀態的訂單。可傳送 returnInventoryIdList、fnskuList 或兩者。請在 建立 Consolidate Shipping Order 與 確認 Consolidate Shipping Order 之間使用。

授權

x-rr-apikey
string
header
必填

Your API key

x-rr-apitoken
string
header
必填

Your API token — keep this private

主體

application/json
consolidateShippingOrderId
string
必填

Consolidate shipping order ID (ULID)

returnInventoryIdList
integer[]

Return inventory IDs (RMA lines). Send this, fnskuList, or both.

Maximum array length: 1500
fnskuList
object[]

FNSKU lines. No duplicate fnsku. Send this, returnInventoryIdList, or both.

Maximum array length: 1500

回應

Success

consolidateShippingInventoryId
string

Consolidate shipping inventory ID (ULID)

consolidateShippingOrderId
string

ULID

itemType
enum<string>
可用選項:
RMA,
FNSKU
returnInventoryId
integer<int64> | null

RMA lines only; null on FNSKU lines

rma
string | null

RMA lines only

fnsku
string | null

FNSKU lines only

quantity
integer

Pieces the line holds after the add. Always 1 for RMA lines.

consolidateShippingInventoryStatus
string