It can be custom coded but takes many steps as in

is the item still in stock
is the item one that I have
does the item have attributes - as in size - color etc

All this needs to be determined from what they provide against what you have and updated in something like a EasyPopulate file that can be imported