additem command

additem'Item Code', Amount
Command effect
This command adds the specified number of specified items. The amount is optional. If it is not specified, only one of the item will be added to your inventory.
Example
additem('Blackunicorn_crafted',10)

How to enter console commands

You will need to enable the console in order to enter commands. To do so, go to the folder The Witcher 3 Wild Hunt / bin / config / base / general.ini. Open the general.ini file with Notepad. Under [General], add DBGConsoleOn=true. Save and exit the file.

Now you can enter commands in the game. Open the console in the game by pressing the ~/~ button.