- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updatePriceListsWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the updatePriceListsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow updates one or more price lists. It's used by the Update Price List Admin API Route.
You can use this workflow within your customizations or your own custom workflows, allowing you to update price lists in your custom flows.
Source CodeExamples#
Steps#
Input#
price_lists_data
UpdatePriceListWorkflowInputDTO[]
price_lists_data
UpdatePriceListWorkflowInputDTO[]id
stringThe ID of the price list to update.
id
stringtitle
stringOptionalThe title of the price list.
title
stringOptionaldescription
null | stringOptionalThe description of the price list.
description
null | stringOptionalstarts_at
null | stringOptionalThe start date of the price list.
starts_at
null | stringOptionalends_at
null | stringOptionalThe end date of the price list.
ends_at
null | stringOptionalThe status of the price list.
rules
Record<string, string[]>OptionalThe rules associated with the price list.
rules
Record<string, string[]>OptionalWas this page helpful?