If you have two applications each making an API call to the same shop, to the same endpoint, and to same item, then Lightspeed Retail would logically reflect the requests. As long as no API thresholds have been exceeded then there are no surprises. Lightspeed Retail would only reflect what's been pushed into it via the API.
Out of curiosity, why would you have two applications in this scenario?
I suspect that you're only retrieving the first batch of products from the response. Lightspeed Restaurant only returns 100 results. You'll need to increment the offset parameter in a loop to gather all the products. You can read more about this here:
I hope this helps!
There is no sorting option in the API.
Hey @UnfinishedFurniture ,
You can try to change these options (highlighted) on the print templates.
Settings > Print templates
I was just writing about how this had to be something really stupid I was missing ... and then, sure enough, I realized I was calling json_encode() twice on the same data.
The post() method that I'm passing all this into -- and using successfully with other thing like Items and Customers -- encodes the array into json, so I didn't need to be doing it when I passed the data.
Duh. Thanks, all, for helping me talk that through!
Thanks Adrian, I was keeping the example simple for the purpose of explanation.
My production solution is to left pad my search query for the systemsku field with zeros to 12 digits and that gave me the results I was expecting.
Still an unexpected behavior that should should be put on the defect shelf unless its mentioned in the API docs somewhere.
Hi there @Sussexwines !
Currently, tips are not a feature in Lightspeed Retail since tips are usually to the discretion of the customer. By example, in Lightspeed retail, if the value of the sale was 45.00 and the customer provided a 15% gratuity, or 6.75$, technically, the sales in LSRetail won't allow the person to pay above the 45$.
Ideally, you could add all of the gratuities accumulated throughout the day and include them in an Add to your till, so the value gets injected with the end of day cash totals, otherwise there's no real way to get this included by default. (integrations could also potentially work, but they would be handled by an external component)
Hope this helps!
Hi @rafdizzle ,
Thank you for contacting us.
Unfortunately this is not possible with the API. This is only possible with an import, you can find this in the UI of Lightspeed Retail.
I hope this will help.
Hi @JohnCoo, for this you can use quotes which you create from the back office, here is more info on how to create quotes. The page also contains a section on how to inform the customer about the quote.
Thanks @Adrian Samuel . Your answer solved my problem!.