createVariants - Product Module Reference
This documentation provides a reference to the createVariants
method. This belongs to the Product Module.
createVariants(data, sharedContext?): Promise<ProductVariantDTO[]>
This method is used to create product variants.
Example
Parameters
The product variants to be created.
Returns
The list of created product variants.
createVariants(data, sharedContext?): Promise<ProductVariantDTO>
This method is used to create a product variant.
Example
Parameters
The product variant to be created.
Returns
The created product variant.
Was this section helpful?