0

GET /quotes/count filtered with many statuses

JarJak 7 years ago in Client Portal updated by Dariusz Gołąb 7 years ago 2

Following the docs:

https://prisma.s.xtrf.us/customer-api/doc/pages/quotes.html#GET_/quotes/count

I can pass multiple statuses in query.

However when I make request to:
/quotes/count?limit=5&search=&start=0&status=ACCEPTED&status=STATUS_ACCEPTED_BY_CUSTOMER&status=SPLITTED

Then I get 404 Not Found, instead of expected 200.


Passing single status works fine and gives 200:

/quotes/count?limit=5&search=&start=0&status=REQUESTED

Am I doing something wrong or docs are bad?

+1

Could it be that the status STATUS_ACCEPTED_BY_CUSTOMER is not in the list?

You could also try replacing status= with status[]=.