I have set up inventory management in Xero and now need the Xero stock levels for each product to sync back to WooCommerce whenever there is a change in those stock levels in Xero.
Can anyone assist me with this? I seem to only be able to select sales invoices from Xero which are then not easy to sync back to WooCommerce to “update product” for stock quantity.
So it may be that you can trigger on the new invoices that are added to Xero and then update WooCommerce using the product line-item information from the invoice.
I suspect that product information from the invoice would come over from Xero as line items. I’ve not tested this out myself but you might need to use Formatter by Zapier to extract certain information to allow you to update the relevant products in WooCommerce. You can find out more about how to work with line items in the following guides:
So it may be that you can trigger on the new invoices that are added to Xero and then update WooCommerce using the product line-item information from the invoice.
I suspect that product information from the invoice would come over from Xero as line items. I’ve not tested this out myself but you might need to use Formatter by Zapier to extract certain information to allow you to update the relevant products in WooCommerce. You can find out more about how to work with line items in the following guides: