I accidentally clicked on the "Move to Warehouse" button in my shop management page and the item in question was moved to the warehouse despite the fact that it had an invite still waiting to be redeemed. Maybe this isn't a bug? I'm not sure, but I assume invites cannot be redeemed for warehoused items.
(Off topic, but a confirmation button for warehousing items would be so helpful. It's too easy to accidentally click 'warehouse' vs 'manage passwords/invites'.')