How to change the items in a chest

I need to know how to change the items in the chest. If you could give me a command with all slots for PE that would be greatly appreciated.


Solution 1:

This works for Pocket Edition (PE):

replaceitem block (x y z of chest) slot.container (slot number) (item)