Integrating 3rd-party services into your site allows you to save time, extend functionality beyond native features, and connect seamlessly with existing systems you have already invested in.
Your site can integrate with 3rd-party solutions in the following ways:
- Fetch API: Connect with 3rd-party APIs securely.
- npm packages: Leverage 3rd-party functionality within your Wix site.
- HTTP functions: Expose your site's functionality so 3rd-parties can call your site’s APIs.
- Service plugins: Inject 3rd-party services into Wix business solutions.
The Fetch API, an implementation of the standard JavaScript Fetch API you're likely already familiar with, enables you to connect your site to 3rd-party APIs. Store sensitive credentials, such as API keys, in the Secrets Manager to keep your API calls secure.
For example, you can use the Fetch API for:
- Weather updates: Display live weather updates by fetching data from a weather service API.
- Inventory sync: Keep your store inventory synced with a 3rd-party inventory management system.
- Analytics: Send custom event data to an analytics service.
With npm packages you can leverage a vast array of prebuilt 3rd-party modules to extend the functionality of your site. By integrating these packages, you can easily add complex features without having to build them from scratch.
For example, you can use npm packages for:
- PDF generator: Use a PDF generator module to dynamically create and customize PDF documents on your site.
- SMS messaging: Send SMS notifications to visitors for order confirmations, appointment reminders, or promotional messages.
- QR code generation: Integrate a module to dynamically generate QR codes for promotional offers or mobile app links.
With HTTP functions you can expose your site as a service and allow 3rd-party systems to interact with your site data and functionality.
For example, you can use HTTP functions for:
- Webhooks: Set up an HTTP function to receive and process webhooks from external services, such as payment notifications or delivery updates.
- Alternative frontends: Use HTTP functions to expose the logic and data of your site to alternative frontends such as mobile apps, smartwatch apps, or other IoT devices.
- Automation services: Integrate your Wix site with automation services. You can create endpoints that automation platforms can trigger as part of an automation workflow.
Service plugins allow you to inject additional functionality or integrate 3rd-party services directly into Wix’s business solutions.
For example, you can use service plugins for:
- Custom shipping rate: Integrate 3rd-party logistics services to provide customized shipping rates in Wix Stores.
- Custom bookings pricing: Implement dynamic pricing models for services in Wix Bookings, such as surge pricing or member-only discounts.
- Custom payments provider: Integrate a 3rd-party payment gateway to offer additional payment options for customers in Wix Stores.