Skip to main content
Skip to main content

updatePriceListPrices - Pricing Module Reference

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

This method updates existing price list's prices.

Example

const priceLists =
await pricingModuleService.updatePriceListPrices([
{
price_list_id: "plist_123",
prices: [
{
id: "price_123",
currency_code: "usd",
amount: 500,
price_set_id: "pset_123",
},
],
},
])

Parameters

The attributes to update in a price list's prices. The price list's ID is specified in the price_list_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 list's prices.
Was this section helpful?