Read this article of shiprocket API documentation. Read this article of Wix Fetch API reference.
You need to fetch shiprocket APIs from the backend using Wix fetch API.