- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateCollectionsStep - Medusa Core Workflows Reference
This documentation provides a reference to the updateCollectionsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step updates collections matching the specified filters.
Example#
Input#
UpdateCollectionsStepInput
UpdateCollectionsStepInputThe data to identify and update the product collections.
UpdateCollectionsStepInput
UpdateCollectionsStepInputselector
FilterableProductCollectionPropsThe filters to select the collections to update.
selector
FilterableProductCollectionPropsThe data to update the collections with.
Output#
ProductCollectionDTO[]
ProductCollectionDTO[]
ProductCollectionDTO[]
ProductCollectionDTO[]ProductCollectionDTO
ProductCollectionDTOA product collection's data.
ProductCollectionDTO
ProductCollectionDTOWas this page helpful?