Customer API not working when passing orderby along with orderby_desc

akkysterakkyster Member Posts: 23

When I am trying to get the customer records by updated date in descending order I get below error.

This is URL

https://api.lightspeedapp.com/API/Account/{accountId}/Customer.json?orderby=timeStamp&orderby_desc =1

It gives me this error

{

    "httpCode": "400",

    "httpMessage": "Bad Request",

    "message": "findAllByFieldMatch got search for \"orderby_desc \". Did you mean: Workorders?",

    "errorClass": "Exception"

}

Anybody has any solutions.

2 comments

Sign In or Register to comment.