Jump to content

Filter Order By Multiple "current_state" in Webservice


liu25

Recommended Posts

Hi,

 

I'm developing an app using Prestashop webservice. After reading the tutorial on webservices, I learned that orders can be filtered by adding filters such as "&filter[current_state]=[2,12]". This will return every order that has current_state between 2 and 12.

 

I'm wondering if I can use filter to get only current_state is 2 and 12. I can do this by making two calls one with filter of current_state 2 and another with filter of current_state 12.

 

But is it possible to do it with one call? That I can specify multiple order_states.

 

Please let me know.

 

Thanks,

 

Link to comment
Share on other sites

  • 1 month later...

Hi,

 

I'm developing an app using Prestashop webservice. After reading the tutorial on webservices, I learned that orders can be filtered by adding filters such as "&filter[current_state]=[2,12]". This will return every order that has current_state between 2 and 12.

 

I'm wondering if I can use filter to get only current_state is 2 and 12. I can do this by making two calls one with filter of current_state 2 and another with filter of current_state 12.

 

But is it possible to do it with one call? That I can specify multiple order_states.

 

Please let me know.

 

Thanks,

   

Hi Liu25,

 

I'm expecting the same "limitation" of webservices, i'm wondering if you founded any solution or work-arround ?

 

Thanks

 

Sébastien

Link to comment
Share on other sites

  • 2 weeks later...
  • 5 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...