Skip to main content

Restore Finished Inbound Shipment

POST 

/api/walmart/:integrationInstance/wfs/inbound-shipments/:shipment/restore-finished

Restore an abandoned shipment Walmart has received or closed (restore_writes_off is true). In one step SKU.io creates the transfer, ships the units from the source warehouse now, closes the transfer and writes their whole value off to Receiving Discrepancies. If any step fails nothing changes and the shipment stays abandoned.

Required scope: warehouses:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

This ships stock and writes off its value. Cancelled, supplier-sourced and unsourced shipments are refused, as are shipments with an unmatched SKU, an unbuilt kit or too little stock. When Walmart received it short, the shortage claim is queued.

Body:

  • confirmed_amount (number, required, min 0): the amount from Write-off Preview. When the amount that would post differs, nothing changes and the 422 carries write_off_amount, the real one.

Refused with 422 while the books are locked through today, or when no account is mapped for Receiving Discrepancies. Calling it again once done changes nothing and returns 200.

Authentication: Requires Bearer token.

Requires the warehouse_transfers.receive permission, as every transfer write-off does.

Request​

Responses​

OK

Response Headers
    Content-Type