Error : malformed ticketNumber within Sale API

akkysterakkyster Member Posts: 23
edited August 9 in Development

When running this GET request within postman

https://api.lightspeedapp.com/API/Account/{{accountID}}/Sale.json?ticketNumber=IN,[220000000073,22000000007]

I get this error

{

    "httpCode": "400",

    "httpMessage": "Bad Request",

    "message": "malformed ticketNumber \"IN,[220000000073,22000000007]\"",

    "errorClass": "Exception"

}

I also tried with encoded request parameter

ticketNumber=IN%2C%5B220000000073%2C220000000001%5D

Can anybody tell me what am I doing wrong over here ?

8 comments

Sign In or Register to comment.