Returns not filtered

rifrif Member Posts: 8

I am trying to get returns for a specific costumer something like:

curl -s https://xxxx:[email protected]/us/returns.json?customer=3972771

but it looks like the server is ignoring my customer=3972771 filter and returns all the results within limit.


The request above is trying to use the filters specified here: https://developers.lightspeedhq.com/ecom/endpoints/return/#get-retrieve-a-return


Can somebody tell me what am I doing wrong?


Thank you


P.S.

On the big picture I am trying to get a list of customers with orders and returns to be able to create a "you might be also be interested in" promotional campaign. Any pointer on how to optimize such a query would be appreciated.

1 comment

  • LucienVersendaalLucienVersendaal Moderator, Lightspeed Staff Posts: 710 moderator

    Hi @rif,

    Thank you for contacting us.

    I've just tested it myself and it looks like this is a bug. I have logged this and will therefore create a ticket for you and when there is an update on this I will inform you immediately.

Sign In or Register to comment.