President Trump said China would end its boycott and resume buying millions of tons of American soybeans.