This documentation provides a reference to the createPriceLists method. This belongs to the Pricing Module.
createPriceLists
This method is used to create price lists.
Code1const priceLists =2 await pricingModuleService.createPriceLists([3 {4 title: "Sale 1",5 description: "Summer sale",6 },7 {8 title: "Sale 2",9 description: "Winter sale",10 starts_at: "2024-12-21",11 },12 ])
1const priceLists =2 await pricingModuleService.createPriceLists([3 {4 title: "Sale 1",5 description: "Summer sale",6 },7 {8 title: "Sale 2",9 description: "Winter sale",10 starts_at: "2024-12-21",11 },12 ])
data
sharedContext
Promise