how to update inventory when item viewed on web site?

New Member
2 0 0

Is it possible to call a REST API on our company server when an item is viewed on the Shopify hosted web site?

The immediate need is that when a customer orders an item thru the Shopify web site we need to make sure the item is actually available. Currently we update shopify item onhand once a day. So when an order is actually placed, the item may not be available as it has been sold thru other channels.  So I would like to update inventory of variants as they are viewed or ordered.