- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createProductVariantsWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the createProductVariantsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow creates one or more product variants.
Steps#
Workflow Hook
Step conditioned by when
Input#
CreateProductVariantsWorkflowInput
CreateProductVariantsWorkflowInput
CreateProductVariantsWorkflowInput
CreateProductVariantsWorkflowInputOutput#
object[]
object[]
object[]
object[]Hooks#
productVariantsCreated#
Example
Input
Handlers consuming this hook accept the following input.
input
object
input
objectWas this page helpful?