Let's assume the cost price of the cooker is "x" dollars.

According to the problem, the shopkeeper sold the cooker for USD 560 making a profit of 12%.

We know that profit is equal to the difference between the selling price and the cost price. So,

Profit = Selling Price - Cost Price

12% of Cost Price = Selling Price - Cost Price

12% of x = 560 - x

0.12x = 560 - x

1.12x = 560

x = 500

Therefore, the cost price of the cooker is USD 500.