How to use webhooks with Inventree? #4409
Unanswered
StormTrooper
asked this question in
Q&A
Replies: 2 comments 2 replies
-
The webhook you mention is for making inventree have a webhook, which you could use to call Inventree from Woocommerce. For the case when the event occurs in Inventree, you probably want the event plugin: https://docs.inventree.org/en/latest/extend/plugins/event/ |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi there @StormTrooper we currently only have functions for receiving webhooks - sending them is not done yet (I have no real usage for it as InvenTree is my source of truth) - see #2038 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've not a coder by any stretch of the imagination but know enough to hack my way around to get something working.
I've got a small website that sells electronic parts (which I've assembed) on eBay and my own website (Woocommerce)
I have hacked together a python script to keep the stock in sync between the 2)
I would now like to integrate this into Inventree. Reducing the stock count on inventree seems simple enough using a API call. So for example when a item is sold on woocommere, a webhook is made to my website which then reduces the stock on eBay/inventree.
What I would like to do now is use webhooks on inventree so when a assembled part is built and the stock number increases then a webhook is done to my website which will update eBay etc.
The problem is I've looked through the api docs for webhooks on inventree and no closer in figuring out how it works.
Suppose the first question, is this possible yet on inventree? Im guessing so since I've seen some integration into Shopify. So then how do I setup a webhook?
The only docs I can find are:
Webhooks
Any ideas woud be welcome.
Beta Was this translation helpful? Give feedback.
All reactions