I'm building a margin-monitor for exact-online, for this I need to fetch all of the products, sales price and sales prices for a specific price-list.
So far I've managed to get the products and default sales prices via the REST-API. However, getting all the relevant prices for a given price-list still eludes me.
In the frontend, you seem to go to sales -> Price management -> Price lists -> Click the price list -> click the amount of items
This sequence seems to give me a list of items with the pricing I'm looking for.
However on the API side, I can't seem to make heads or tails from this structure.
Suggesting from the title of the screenshot, I need to get /api/v1/{division}/sales/SalesPriceListPeriods
. Yet this just returns the periods of the price lists.
/api/v1/{division}/sales/SalesPriceLists
returns the actual price-lists. Ok, that's clear enough.
But what endpoint do I call, and how to receive the actual price for the given price lists?