Skip to content

Calling Thirdparty api to Magento 2 checkout page

We have third party application,we are getting data from that application with the help of API. So here that application will provide one invitation code.Using invitation code will enter to the magento 2 site,that time will get product details once enter the invitation code (1234567).Now consumer adding the products to cart and then they need to do checkout. Here challenge is once consumer proceed to checkout,they want to enter their details,it should be prepopulate. How can we achieve this in Magento 2. Could you please some one guide me.

Here is the screenshot Customer should not enter their details.It should be auto populate in this field.