- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createProductVariantsStep - Medusa Core Workflows Reference
This documentation provides a reference to the createProductVariantsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates one or more product variants.
Example#
Input#
CreateProductVariantDTO[]
CreateProductVariantDTO[]
CreateProductVariantDTO[]
CreateProductVariantDTO[]CreateProductVariantDTO
CreateProductVariantDTOA product variant to create.
CreateProductVariantDTO
CreateProductVariantDTOOutput#
ProductVariantDTO[]
ProductVariantDTO[]
ProductVariantDTO[]
ProductVariantDTO[]ProductVariantDTO
ProductVariantDTOA product variant's data.
ProductVariantDTO
ProductVariantDTOWas this page helpful?