- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updatePriceListsStep - Medusa Core Workflows Reference
This documentation provides a reference to the updatePriceListsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step updates one or more price lists.
Example#
Input#
UpdatePriceListsStepInput
UpdatePriceListsStepInputThe price lists to update.
UpdatePriceListsStepInput
UpdatePriceListsStepInputid
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[]>OptionalOutput#
PriceListDTO[]
PriceListDTO[]
PriceListDTO[]
PriceListDTO[]PriceListDTO
PriceListDTOA price list's details.
PriceListDTO
PriceListDTOWas this page helpful?