Getting data on order placement
I have a scenario and been scracthing my head for last week on this.
I want to retrieve the products information on successful purchase or completion of an order. What are the possible ways to do it?
I tried with the tracking way : https://ecom-support.lightspeedhq.com/hc/en-us/articles/220319768-Adding-a-web-tracking-code
There is very little documentation on how to use the tracking code, do we need to add the external URL which will be automatically called like below I tried but no response? or something different?
Also other way I could think of is the webhook but for the webhook i am getting the following response?
How do we create a webhook? and once it is created can we retrieve the order information in the webhook?
Thank you in advance