Custom website using Lightspeed checkout

in Development
Is it possible to use the Lightspeed checkout with a custom-built website that uses the Lightspeed API?
We've built a custom website using the Lightspeed API. Is it possible to push the information in our shopping cart to a Lightspeed checkout page and use a webhook to retrieve a response? Or is it recommended to develop a custom checkout module? Thank you for your insights!
1 comment
Hi,
You can create your own custom checkout and push the data via the API to create the order in the back-office:
https://developers.lightspeedhq.com/ecom/tutorials/creating-an-order/
It is also possible to create carts and redirect customers to a pre-filled cart. The cart is also readable by adding ?format=json to the URL.
Through the API, it would be regarding the quote endpoint. When you create a quote, you receive a recovery hash. With this hash you can redirect a customer to http://domain.com/cart/recover/{quote.recoveryHash} to show the filled cart, so a customer can enter his/her details and finalize the order.
https://developers.lightspeedhq.com/ecom/endpoints/quote/#post-create-a-quote