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[]id
stringThe ID of the product type.
id
stringvalue
stringThe value of the product type.
value
stringcreated_at
string | DateWhen the product type was created.
created_at
string | Dateupdated_at
string | DateWhen the product type was updated.
updated_at
string | DateHolds custom data in key-value pairs.
deleted_at
string | DateOptionalWhen the product type was deleted.
deleted_at
string | DateOptionalWas this page helpful?