Error when trying to get Sales

shulianshulian Member Posts: 4

Hello!


I am getting the following error when calling endpoint

GET /API/Account/{accountID}/Sale.json

"{"httpCode":"400","httpMessage":"Bad Request","message":"findAllByFieldMatch got search for \"on\". Did you mean: Shop?","errorClass":"Exception"}"


Any clue?

I couldn't find any solution around there.


thank you in advance

Tags:

2 comments

  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 348 moderator

    Hi,

    Please have a look if you're using a param which is invalid.

  • shulianshulian Member Posts: 4

    Hello Ali.

    You are right. I am using "on" parameter that looks as it doesn't exist.

    I will try by sending

    timeStamp='>=,2018-12-15T00:00:00-00:00'
    

    thanks

Sign In or Register to comment.