JavaScript SDK
Share your feedback
Your feedback helps us improve the development experience! Join the Devs on Wix Discord community to discuss features, give feedback, and connect with our growing community of developers.
The Wix JavaScript SDK allows you access to Wix business solutions and site data from JavaScript code. For example, you can use the @wix/stores
package to interact with the Wix Stores product catalog and handle site orders.
Where the JavaScript SDK can be used
- Wix Headless: Take advantage of Wix's backend functionality and business management platform from any app or site you create, on any platform.
- Wix Apps: Develop apps that can be installed on Wix sites.
What is included in the JavaScript SDK
- Business Products: Business solutions such as eCommerce, Bookings, and Events.
- Payments: Payment functionality such as Pricing Plans.
- CRM and Members: Manage site contacts and members.
- Data: Work with data stored in your Wix database.
Webhooks
Wix Apps can subscribe to webhooks to respond to specific app and site events. The SDK streamlines webhook integration by providing methods to register a callback function as an event handler. For more information, see Handle Events With Webhooks.
Service plugins
Service plugins allow your Wix app to extend the functionality of a Wix site by injecting custom logic into existing app flows or introducing entirely new flows. Learn how to implement a self-hosted service plugin.
Authentication strategies
- ApiKeyStrategy: For site-level and account-level API calls in a secure environment. Read More.
- OAuthStrategy: For Wix Headless. Read More.
- AppStrategy: For Wix apps. Read More.
Learn how to build with the JavaScript SDK
Not writing JavaScript code? Check out our REST API as an alternative to using the JavaScript SDK.
Your feedback is important to us.
Tell us about your experience using the REST API