About the Function SPI Configuration API

The Function SPI Configuration API allows you to create, access, and manage service plugin configurations for functions. Service plugin configurations define the data that a function sends to a business solution. Use this API together with other Wix Functions APIs.

With the Function SPI Configuration API, you can:

  • Configure the specific data that functions send to Wix business solutions.
  • Ensure configurations match the required schema before deployment to prevent runtime errors.

Function SPI configurations in the Wix Functions ecosystem

Many function types require a function to have a service plugin configuration. This configuration defines the data format that a function sends to a business solution. A function can't have more than 1 service plugin configuration. Learn more about service plugins and Wix Functions.

When creating a function by calling Create Function Production or Create Function Builderless Production, service plugin configurations are created together with the function. Learn more about quick creation and configuration.

Updates to service plugin configurations do not immediately impact active functions. This means that if you update a service plugin configuration after you activate a function that uses it, there will be a difference between the latest version of the service plugin configuration and the one that the function currently uses. To publish the latest service plugin configuration, reactive the function by calling Upsert Function Activation.

Did this help?