Page 1 of 1

Setup Webhook

PostPosted: Mon May 18, 2020 12:42 pm
by redpoint
Hello,

I am just about to start using Jiwa Rest api, I have few questions.

1. How to setup webhook for inventory.created and inventory.stocklevel? Any example?
2. What sort of data is passed to the endpoint?
3. Can we add more fields or decided what field to add?

Thanks

Re: Setup Webhook

PostPosted: Mon May 18, 2020 1:03 pm
by Scott.Pearce
The documentation for webhooks is available here. Examples are included.

General documentation regarding the Jiwa REST API is available here.

Further, here is a demo installation of the Jiwa API:

https://api.jiwa.com.au/metadata

Re: Setup Webhook

PostPosted: Tue May 19, 2020 10:44 am
by redpoint
Great, thank you.

But how I can setup webhook within Jiwa?

Re: Setup Webhook

PostPosted: Wed May 20, 2020 10:27 am
by redpoint
Basically we are trying to connect our CRM(Jiwa) to our online shopping platform. To do that, we have to keep the products and stock level synced between two platforms. The best way to achieve this is through the usage of webhooks in Jiwa system. Based on Jiwa documentations, Jiwa provides inventory.created, inventory.updated, and inventory.stocklevel webhooks where we can utilise them by pointing them to our internal API's end-points, which will maintain our online shops and Jiwa products synced.

The problem is we are facing difficulties to figure out how to configure each of these webhooks in our Jiwa platform and point them to our API. Could you please walk us through how we can configure our Jiwa to accommodate these webhooks?

Re: Setup Webhook

PostPosted: Wed May 20, 2020 12:35 pm
by Mike.Sheen
Hi,

I've updated the documentation to add a section to show as a step-by-step tutorial how to add a subscription.

This is a link to the relevant section : Tutorial - Using SwaggerUI to add a subscription.

Post back here if you still can't work things out!