Skip to main content
Skip to main content

removePrices - Pricing Module Reference

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

This method deletes prices by their IDs.

Example

await pricingModuleService.removePrices([
"price_123",
"price_321",
])

Parameters

idsstring[]Required
The IDs of the prices.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when the prices are deleted successfully.
Was this section helpful?