Minecraft wiki entry for item, associated text: /data — can also replace items in a container's or mob's inventory, or modify the drop chances of armor and weapons
/give — give items to players without specifying specific inventory slots or overwriting other items
/replaceitem — The Bedrock Edition equivalent