Skip to main content
Skip to main content

updatePriceLists - Pricing Module Reference

This documentation provides a reference to the updatePriceLists method. This belongs to the Pricing Module.

This method is used to update price lists.

Example

const priceLists =
await pricingModuleService.updatePriceLists([
{
id: "plist_123",
title: "Sale 1",
},
{
id: "plist_321",
description: "Winter sale",
},
])

Parameters

dataUpdatePriceListDTO[]Required
The attributes to update in each price list. The price list is identifed by the id field.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<PriceListDTO[]>Required
The updated price lists.
Was this section helpful?