The Wix Functions APIs allow you to manage a site's Functions through code.
With the Wix Functions APIs, along with the Automations API, you can control every aspect of a site's functions.
Wix Functions allow you to create custom business logic that integrates with Wix's business solutions. Functions run at specific points in a business solution's workflows. Using functions, you can create custom behaviors, validations, and integrations that aren't available by default. For example, adding a fragile packaging fee to a checkout flow.
The simplest way to implement Functions on your site is to use the Functions dashboard page. This page allows you to manage your site's functions and their logic through a no-code interface.
Functions work by integrating with existing Wix business solutions through a service plugin architecture. You must build each function from a function type that a service plugin defines and that specifies the following:
Learn more about function architecture.
In most cases, it's simplest to add functions to a site using the site's dashboard. However, there are some cases when developing an app or a site where you need to use APIs: