Artificial intelligent assistant

How to say "I bought this book for 1200 yen." in Japanese? I want to say, > I bought this book for 1200 yen. My attempt is as follows but I am not sure whether it is correct or not. * *

The latter is correct. The former is grammatically wrong as it roughly translates to "I bought this book 1200 yen" (lacking 'for', as denoted by ).

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 2f0f928a4b2bbd6061827fbe785114f6