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:
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.