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.

Documentation update

We've consolidated our documentation for the Wix JavaScript SDK and REST APIs into a single, unified API reference.

Note: No code has changed, this is only a reorganization of the documentation.

For an overview of the updated structure, see About the SDK documentation.

Where the JavaScript SDK can be used

  • Wix sites: Add custom functionality to Wix sites.
  • Wix apps: Develop apps that can be installed on Wix sites.
  • Wix Headless: Take advantage of Wix functionality from any app or site you create, on any platform.

What's in this SDK reference

The following content is documented in this dedicated SDK reference:

All other backend APIs, as well as service plugins and event handlers, are now part of the unified API reference.

Learn how to build with the JavaScript SDK

Develop Websites
Customize a Wix site's functionality by create an interactive UI, working with data-driven content, and integrating with Wix business solutions and 3rd-party services.
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.

Use these docs with AI tools

Wix developer documentation is available in machine-readable formats for use with AI coding assistants and LLMs:

  • llms.txt index: Browse a structured index of all documentation at dev.wix.com/docs/llms.txt.
  • Markdown format: Append .md to any documentation page URL to retrieve a Markdown version of that page.
  • Page menu: Use the "Ask Assistant" dropdown on any documentation page to copy the page as Markdown or get a direct link to the Markdown version.

Your feedback is important to us.

Contact support to tell us about your experience or request missing APIs. Open a ticket and we'll get back to you within 72 hours.

Did this help?