How to get shipping cost on cart page

crinchcrinch Posts: 2Member
Hi
I am new to lightspeed. I have lightspeed store of my client where I need to get shipping method with minimum cost on cart page against the current cart.
I have store's back-end access where I can add my javascript code under web extras > custom js.
Is there any URL or way against which I send an ajax request with country and zip to fetch shipping cost for the items currently available in cart.

Thanks.

Answers

  • maurisourcemaurisource Posts: 14Partner partner

    Hi, I don't think this is possible directly with Lightspeed.

    Using the Retail API it expects you to Post the shipping cost to an order.

    I think the proper way doing it is using a 3rd party Shipping API that allows you to Get the live shipping cost in cart, then Post that amount to Lightspeed.

    Manesh Sonah < Magento Solution Specialist />
    https://maurisource.com / [email protected]
    Magento 1 | Magento 2 integration with Lightspeed Retail


  • JoeyJoey Posts: 141Administrator, Moderator, Lightspeed Staff moderator

    This question is posted in the Retail API category but related to the eCom API and thus moved.

    eCom Support Team
    Lightspeed HQ
Sign In or Register to comment.