You can find some NPC's with type named as "Miracle Shop".
This NPC's sells different goods however you need special items to buy these items.
Each NPC have own currency and you can see it name in NPC welcome dialog
To buy a product, you need to have the right currency item in your inventory in the right amount.
Just drag and drop item which you want to your inventory to purchase them