smida.haroun Posted October 27, 2016 Share Posted October 27, 2016 Hi, I need to know if it's possible to filter values via web service using "not equal" operator. thank in advance for answer. Link to comment Share on other sites More sharing options...
lmorgan Posted November 15, 2016 Share Posted November 15, 2016 In php you can do this like so require_once('PSWebServiceLibrary.php'); $webService = new PrestaShopWebservice('www.example.com', $key, false); $opts = array(); $opts['resource'] = 'order_details'; $opts['display'] = '[id_order]'; $opts['filter[id]'] = '![4]'; $xml = $webService->get($opts); This will filter out anything that has an id=4 Link to comment Share on other sites More sharing options...
hardyahir Posted May 13, 2017 Share Posted May 13, 2017 In php you can do this like so require_once('PSWebServiceLibrary.php'); $webService = new PrestaShopWebservice('www.example.com', $key, false); $opts = array(); $opts['resource'] = 'order_details'; $opts['display'] = '[id_order]'; $opts['filter[id]'] = '![4]'; $xml = $webService->get($opts); This will filter out anything that has an id=4 is this working? its not working for me Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now