inventory API should work