Fixes dynamic api calls on /*_inventory