- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateProductTypesStep - Medusa Core Workflows Reference
This documentation provides a reference to the updateProductTypesStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step updates product types matching the specified filters.
Example#
Input#
UpdateProductTypesStepInput
UpdateProductTypesStepInputThe data to identify and update the product tags.
UpdateProductTypesStepInput
UpdateProductTypesStepInputselector
FilterableProductTypePropsThe filters to select the product types to update.
selector
FilterableProductTypePropsupdate
UpdateProductTypeDTOThe data to update the product types with.
update
UpdateProductTypeDTOOutput#
ProductTypeDTO[]
ProductTypeDTO[]
ProductTypeDTO[]
ProductTypeDTO[]ProductTypeDTO
ProductTypeDTOA product type's data.
ProductTypeDTO
ProductTypeDTOWas this page helpful?