How do I connect the stock with an external system?

  1. Hi, I have a client that wants me to connect the stock of the Wix’s store with an external administration system they use so that every time someone makes a purchase on the site, the stock of their general system is also changed?

  2. They also want that system to create an invoice every time a customer makes a purchase.
    Is this possible?

Thanks in advance

Hi,

Using the newly released wixStoresBackend api you can integrate with most if not all of the required functionalities you described.

check out the api doc here
https://www.wix.com/corvid/reference/wix-stores-backend.html

You can also auto generate invoices using the Invoice api
https://www.wix.com/corvid/reference/wix-billing-backend.invoices.html