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

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 add a Wix-hosted service plugin with the CLI or 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

Build Wix Apps
Develop an app for Wix's App Market, enabling users to extend their site's functionality.
Create Headless Experiences
Integrate Wix's powerful business solutions with your own frontend using any tech stack.

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

Request missing APIs

Did this help?