About the Function Productions API

The Function Productions API allows you to create functions with all their dependencies in a single call. This streamlined approach eliminates the need to call multiple APIs separately and manage relationships between entities. Use this API together with other Wix Functions APIs.

With the Function Productions API, you can:

  • Generate functions with all necessary components (automation, service plugin configuration, and function method) in a single operation.
  • Create blank functions from function types or pre-configured functions from templates with existing logic.
  • Update and maintain all aspects of a function's configuration and dependencies together.

Function productions in the Wix Functions ecosystem

Function productions are most commonly used to create functions. Calling Create Function Production creates a function, an automation, and a service plugin configuration. It also creates a function method that links the function to the created automation. Learn more about function creation.

When you create a function with a function production, you can update it using the Update Function Production method or other Functions APIs.

Note: You can't create a function production from a template that has a formTemplateExtensionId. Use the Builderless Productions API instead.

Did this help?