I have not technical knowledge of codes, i have created this e-com site for home decor items. now the courier service has provided the info and ask to integrate with the site. This service does not proovide service to all parts of India, hence the API will help me to decide whether customer can get the service or not. I feel it has to do with fetch function but can some body help me?
Hello,
We have a step by step guide on how to work with APIs : Corvid: Accessing Third-Party Services with the Fetch API . By following this article you can call a third-party service directly from your client-side code.
Below you can find some examples where you can see code that interfaces with an external API. You can load the examples in your Editor, play with them, learn, and apply to your own site and specific API that you are interested in using:
Expose and Access Site APIs
Use MyApi and MyApiClient to expose and access external APIs.
Send Email with SendGrid NPM Interface
Send an email using the SendGrid NPM library.
Send Email with SendGrid REST Interface
Send an email using the SendGrid REST API.
Stripe Payment Processing
Integrate the Stripe Payment processing system into a site. Three levels of user access are demonstrated: visitor, freemium (registered), and premium (paid).
Thanks for help! i will try
I have tried it with 2 software experts but it does not work
i get following error
DevTools failed to load SourceMap: Could not load content for https://static.parastorage.com/services/wix-ui-santa/1.1235.0/wixcode/wixcode-components.bundle.min.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE
i would also want to integrate Delhivery to my website, please do let me know wen you have a solution
It’s like frustrating. I have build a e-com website and delivery partners like Delhivery, Shiprocket do not have direct integration with wix. All app like shippo and other do not cater to India. i feel wix is not very keen to grow their business in India.
but do let me know if you find a solution
Did you find a solution? I too am facing the same issue.
me too facing this issue , have your issue resolved ?
@drpbshirke have u got any solution for yr delivery integration ?
@gi9763 You will need to read about how to access 3rd party services in the article Velo: How to Access 3rd-Party Services with the Fetch API .
A nice simple example to start with is Create a Weather Widget . Also, t ake a look at the Advanced examples , many of them access 3rd party services. A couple of good examples to start with are: Example: Using the Places API from Google Maps services and Example: Send email with the SendGrid REST interface .
Contact me, I can help you fix this issue within 24 hours . Contact us at : astrosia.com
@drpbshirke : I am also facing a similar situation. I brought my store online on Wix after recommendation from a friend and now I find none of the courier companies mentioned here provide shipments in India. I have been managing with Shiprocket offline but now I really want to go online. Have you been able to link to some courier company in India for shipments through Wix ? Please share details.