updateProductOptionsStep - Medusa Core Workflows Reference
This documentation provides a reference to the updateProductOptionsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step updates product options matching the specified filters.
Example#
Input#
UpdateProductOptionsStepInput
UpdateProductOptionsStepInputThe data to identify and update the product options.
UpdateProductOptionsStepInput
UpdateProductOptionsStepInputselector
FilterableProductOptionPropsThe filters to select the product options to update.
selector
FilterableProductOptionPropsupdate
UpdateProductOptionDTOThe data to update the product options with.
update
UpdateProductOptionDTOOutput#
ProductOptionDTO[]
ProductOptionDTO[]
ProductOptionDTO[]
ProductOptionDTO[]id
stringThe ID of the product option.
id
stringtitle
stringThe title of the product option.
title
stringThe associated product option values.
created_at
string | DateWhen the product option was created.
created_at
string | Dateupdated_at
string | DateWhen the product option was updated.
updated_at
string | DateThe associated product.
product_id
null | stringOptionalThe associated product id.
product_id
null | stringOptionalHolds custom data in key-value pairs.
deleted_at
string | DateOptionalWhen the product option was deleted.
deleted_at
string | DateOptionalWas this page helpful?