- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createProductCategoriesStep - Medusa Core Workflows Reference
This documentation provides a reference to the createProductCategoriesStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates one or more product categories.
Example#
Input#
CreateProductCategoriesStepInput
CreateProductCategoriesStepInputThe data to create product categories.
CreateProductCategoriesStepInput
CreateProductCategoriesStepInputproduct_categories
CreateProductCategoryDTO[]The product categories to create.
product_categories
CreateProductCategoryDTO[]Output#
ProductCategoryDTO[]
ProductCategoryDTO[]
ProductCategoryDTO[]
ProductCategoryDTO[]ProductCategoryDTO
ProductCategoryDTOA product category's data.
ProductCategoryDTO
ProductCategoryDTOWas this page helpful?