- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
createProducts - Product Module Reference
This documentation provides a reference to the createProducts
method. This belongs to the Product Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
createProducts(data, sharedContext?): Promise<ProductDTO[]>#
This method is used to create a list of products.
Example#
Parameters#
data
CreateProductDTO[]The products to be created.
data
CreateProductDTO[]Returns#
Promise
Promise<ProductDTO[]>The list of created products.
Promise
Promise<ProductDTO[]>createProducts(data, sharedContext?): Promise<ProductDTO>#
This method is used to create a product.
Example#
Parameters#
data
CreateProductDTOThe product to be created.
data
CreateProductDTOReturns#
Promise
Promise<ProductDTO>The created product.
Promise
Promise<ProductDTO>Was this page helpful?