Setup Webhook

Discussions relating to the REST API of Jiwa 7.

Setup Webhook

Postby redpoint » Mon May 18, 2020 12:42 pm

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
redpoint
Occasional Contributor
Occasional Contributor
 
Posts: 16
Joined: Tue Feb 25, 2020 3:17 pm

Re: Setup Webhook

Postby Scott.Pearce » Mon May 18, 2020 1:03 pm

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
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 742
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 221

Re: Setup Webhook

Postby redpoint » Tue May 19, 2020 10:44 am

Great, thank you.

But how I can setup webhook within Jiwa?
redpoint
Occasional Contributor
Occasional Contributor
 
Posts: 16
Joined: Tue Feb 25, 2020 3:17 pm

Re: Setup Webhook

Postby redpoint » Wed May 20, 2020 10:27 am

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?
redpoint
Occasional Contributor
Occasional Contributor
 
Posts: 16
Joined: Tue Feb 25, 2020 3:17 pm

Re: Setup Webhook

Postby Mike.Sheen » Wed May 20, 2020 12:35 pm

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!
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2440
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 755


Return to REST API

Who is online

Users browsing this forum: No registered users and 1 guest

cron