add inventories and update skus API

#395 #471

留言讨论

@guanbo @chenshun