Can't filter checkouts.json with created_at_min and created_at_max parameters

JohnCooJohnCoo Member Posts: 5

Hi,

When I do a GET request on the orders.json endpoint, I can filter using created_at_min and created_at_max parameters.

orders.json?created_at_min=2019-10-13T22%3A00%3A00&created_at_max=2019-10-14T21%3A59%3A59


This gets me all orders for the 14th of October.


According to the documentation, the same should be possible for the checkouts.json endpoint.

checkouts.json?created_at_min=2019-10-12T22%3A00%3A00&created_at_max=2019-10-13T21%3A59%3A59


However the filtering isn't taken into account.

Also checked if I can filter by fields, which doesn't seem to work either.

checkouts.json?fields=id

Still returns all the fields.


Is there an issue with using parameters on the checkouts endpoint, or am I simply missing something here?


Thanks,

JohnCoo.

3 comments

  • LeahLeah Moderator, Lightspeed Staff Posts: 109 moderator

    Hi @JohnCoo Our development team are aware of the filters not working on the checkout endpoint and the issue has been logged. I will create you a ticket so you can be notified when the issue is resolved.

    API Support
    Lightspeed HQ
  • JohnCooJohnCoo Member Posts: 5

    Thanks Leah,

    Any idea when we can expect a fix for this?

  • LeahLeah Moderator, Lightspeed Staff Posts: 109 moderator

    I can't give you a definitive estimate, but you will receive an update on your ticket once it's resolved.

    API Support
    Lightspeed HQ
Sign In or Register to comment.