跳轉到主要內容
POST
Remove inventory from consolidate shipping order
此頁面由 AI 自動翻譯。API 技術規格以英文呈現為標準。如有任何疑問,請參閱英文版本。
從 CREATED 狀態的訂單(呼叫 確認 Consolidate Shipping Order 之前)移除明細。可傳送 returnInventoryIdList、fnskuList 或兩者。 對於 FNSKU 明細,quantity 為要移除的件數;全部移除時該明細也會被刪除。移除的件數會退回庫存。

授權

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

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

RMA lines only; null on FNSKU lines

fnsku
string | null

FNSKU lines only

quantity
integer

Pieces the line still holds; 0 once the line is removed

handlingCode
string | null

RMA lines only

handlingStatusCode
string | null

RMA lines only