メインコンテンツへスキップ
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