I am trying to get the total sales for particular period of time for selected products through the Lightspeed API.
I have found SaleLine function for this purpose:
I would like to get sales for the period 1.May 2018 - 20.May 2018 for two selected products:
with SKU=10261 and with SKU=11210.
When I run the API call with 11210 the endpoint is:
and result set is correct.
But if I run the API with 10261:
the API call returns ALL sales regardless the selected period of time.