Update return inventory handling
ReturnInventory
Update return inventory handling
POST
Update return inventory handling
Updates the handling decision on a single return inventory record — i.e. tells the warehouse what to do with a parcel they’ve received. The most common write call after the warehouse has logged a return; from this point the inventory follows the chosen handling path (restock, dispose, recall, resend, etc.).
When to call
- After your CS or operations team has decided on the handling.
Required fields
returnInventoryId— long; must exist and belong to your account. Received from thenewInventoryCreatedwebhook event when a parcel is logged at the warehouse; cache it on your side so you can act on it later. The webhook stream is the source of truth for inventory IDs.handlingCode— string, must be one of the codes returned by Get all handling types. Cannot bersd(resend) ortbc(to-be-confirmed) directly — those flow through dedicated endpoints. Common values:ohd(on-hold),rtn(return),rst(restock),dsp(dispose).
handlingStatusCode is pending and the new handling is ohd (on-hold), the call is always allowed — useful for putting an inventory on hold while you investigate.
You cannot update handling if:
- The inventory has any pending VAS (value-added service) requests on its line item. Cancel or complete the VAS first via Get all VAS and the VAS endpoints.
Side effects
handlingCodeandhandlingStatusCodeon the inventory record are updated.- If the new handling is not
ohdoroth(others), the RMA mapping is locked to prevent RMA swap operations on this inventory.
Related
- Cancel return inventory handling — undo a handling decision before the warehouse acts on it.
- Create recall by return inventory IDs — to flow a recalled inventory through the dedicated recall pipeline rather than handling.
- Create resend order — for the resend pathway (which also can’t be reached via this endpoint directly).
- Webhooks —
newInventoryCreated,vasUpdated, the inventory-handling-complete event, andnotifyUserRmaSwappeddeliver inventory lifecycle to your endpoint.
Authorizations
Your API key
Your API token — keep this private
Body
application/json
Response
Success
Universal response envelope. Successful responses include the business payload as additional top-level fields alongside correlationId and meta. Failed responses (auth errors, validation errors) only populate correlationId and meta, with meta.errorCode and meta.error describing the failure.