Minecraft wiki entry for loot, associated text: loot <TARGET> <SOURCE>
In which:
<TARGET> is:
spawn <targetPos>
Spawns item entities.
replace entity <entities> <slot> [<count>]
Distributes items to entities.
replace block <targetPos> <slot> [<count>]
Distributes items to a container block.
give <players>
Gives items to players, ignoring empty item stacks.
insert <targetPos>
Distributes items to a container block.