Wrong Receipt ID ?

In back-office dashboard, we have two different receiptID.
The endpoint rest/onlineordering/customer/{customerid}/order returns receiptID: 43.
But we need receipe id: 146571999 to retrieve the receipt from endpoint /financial/receipt, how can acheive that ?
Post edited by DenisFa on
Tags:
2 comments
As the center opens in few hours (tonight), this is urgent.
In staging, the first ID (43) was not present, and we based our code on this fact, but production behavior on receipt ID is different, why so ?
For anyone experiencing this, this is due to liteserver creating another id, and you should head to
in order to make the convertion :
https://developers.lightspeedhq.com/resto-api/endpoints/liteserverconversion/#get-convert-the-liteserver-receipt-id
Issue closed.