Opencart integration

Hello! I want to use intercom chat with my opecart site. I want the customer can do an order, gives a product code and receives if this product is in stock or out of stock, etc. Is there any way to do it? Can with someway give-send to intercom the xml feed and read the data?

I think this would best be done using the canvas kit: https://developers.intercom.com/canvas-kit-reference/reference/introduction