跳转到主要内容
POST
Add inventory to consolidate shipping order
此页面由 AI 自动翻译。API 技术规格以英文呈现为标准。如有任何疑问,请参阅英文版本。
向 CREATED 状态的订单加入 Return Inventory(按 returnInventoryId)和 FBA 库存(按 FNSKU)。可发送 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