API: Get receipts for a certain date (range) - which date?

GeertG1987GeertG1987 Member Posts: 5
edited January 26 in Technical Documentation

Hi,

We are already working a while with the API to retrieve lightspeed receipt information (***), and we were wondering about on which date we are actually filtering?

The documentation says: "The date for which receipts should be returned.", the API returns different dates however:

            "creationDate": "2019-04-19T18:33:29.590Z",
            "modificationDate": "2019-04-19T18:33:29.590Z",
            "closingDate": "1970-01-01T00:00:00.000Z",
            "deliveryDate": "2019-04-19T18:33:26.000Z",
            "printDate": "1970-01-01T00:00:00.000Z",

I noticed there is also a useModification flag to filter on modificationDate, I suppose when it is set to false, it filters on creationDate? Is there also a way to filter on closingDate? deliveryDate?

Post edited by LucienVersendaal on

1 comment

  • LucienVersendaalLucienVersendaal Moderator, Lightspeed Staff Posts: 662 moderator
    edited January 26

    Hi @GeertG1987,

    Thank you for contacting us.

    Please don't share any Resto API documentation links, since Resto API is a closed API. Since you are a partner you do not need to communicate through the community, but you have received a direct email address for support, please use that one.

    I noticed there is also a useModification flag to filter on modificationDate, I suppose when it is set to false, it filters on creationDate? Correct

    Like we're mentioning in our documentation "closingDate" is deprecated.

    It's not possible to filter on deliveryDate as parameter.


Sign In or Register to comment.