Skip to main content
POST
Remove inventory from consolidate shipping order
Removes lines from an order in CREATED status (before Confirm consolidate shipping order is called). Send returnInventoryIdList, fnskuList, or both. For FNSKU lines, quantity is the pieces to remove; removing every piece removes the line. Removed pieces go back to stock.

Authorizations

x-rr-apikey
string
header
required

Your API key

x-rr-apitoken
string
header
required

Your API token — keep this private

Body

application/json
consolidateShippingOrderId
string
required

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

Response

Success

itemType
enum<string>
Available options:
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