Price List
Price lists allow you to define the prices to apply to the items of customer documents. A price list is characterized by the definition of the price of every single item and has a reference currency. It determines the price list to be applied to the document. A price list has also a validity period and it is applicable only to documents whose date is included therein.
There are different ways of applying discounts:
- Over discounts overwrite existing ones;
- Add discounts are added to existing.
📄️ getPriceList
Get a PriceList.
📄️ updatePriceList
[Update](https://jsonapi.org/format/#crud-updating) a Price List.
📄️ deletePriceList
[Delete](https://jsonapi.org/format/#crud-deleting) a PriceList and all its details or Customer Price List.
📄️ editPriceList
Edit a Price List.
📄️ publishPriceList
Publish a Price List.
📄️ listPriceList
Returns a collection of Price Lists
📄️ createPriceList
Create a Price List.
📄️ getPriceListCustomerAccount
Get the single customer account related to the price list.
📄️ updateCustomerPriceList
[Update](https://jsonapi.org/format/#crud-updating) a CustomerPriceList.
📄️ deleteCustomerPriceList
[delete](https://jsonapi.org/format/#crud-deleting) a CustomerPriceList.
📄️ listPriceListCustomerAccounts
Get customer accounts related to the price list.
📄️ createPriceListCustomerAccount
Create new customer account.
📄️ getPriceListDetail
Get single detail related to the price list.
📄️ updatePriceListDetail
[Update](https://jsonapi.org/format/#crud-updating) a PriceListDetail.
📄️ deletePriceListDetail
[delete](https://jsonapi.org/format/#crud-deleting) a PriceListDetail.
📄️ listPriceListDetails
Get all details related to the price list.
📄️ createPriceListDetail
Create new price list detail