updatePriceSetsStep - Medusa Core Workflows Reference
This documentation provides a reference to the updatePriceSetsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step updates price sets.
Example#
Input#
UpdatePriceSetsStepInput
UpdatePriceSetsStepInputThe data to update price sets. You can either update price sets with a selector
or by providing IDs in the price set objects to update.
UpdatePriceSetsStepInput
UpdatePriceSetsStepInputprice_sets
UpsertPriceSetDTO[]The price sets to update.
price_sets
UpsertPriceSetDTO[]The filters to select which price sets to update.
The data to update the price sets with.
Output#
PriceSetDTO[]
PriceSetDTO[]
PriceSetDTO[]
PriceSetDTO[]id
stringThe ID of the price set.
id
stringThe prices that belong to this price set.
The calculated price based on the context.
Was this page helpful?