- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
createProductOptions - Product Module Reference
This documentation provides a reference to the createProductOptions
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.
createProductOptions(data, sharedContext?): Promise<ProductOptionDTO[]>#
This method is used to create product options.
Example#
Parameters#
data
CreateProductOptionDTO[]The product options to be created.
data
CreateProductOptionDTO[]Returns#
Promise
Promise<ProductOptionDTO[]>The list of created product options.
Promise
Promise<ProductOptionDTO[]>createProductOptions(data, sharedContext?): Promise<ProductOptionDTO>#
This method is used to create a product option.
Example#
Parameters#
The product option to be created.
Returns#
Promise
Promise<ProductOptionDTO>The created product option.
Promise
Promise<ProductOptionDTO>Was this page helpful?