Jump to content

Filter on date using PrestaShop Webservice Library


Zeem24

Recommended Posts

Hi,

 

I'm using prestashop 1.6.0.14 and I'm trying to get my customers by date_upd.

 

I'm calling this url    "api/customers/?display=full&filter[date_upd]=<[2015-06-11 09:00:00]&date=1"

 

When I'm trying in my browser it works, but when I'm trying to get it with the webservice I get a header response like this:

 

HTTP/1.1 200 OK
Date: Mon, 29 Jun 2015 15:34:35 GMT
Server: Apache
X-Powered-By: PrestaShop Webservice
09: 00:00]&date=1 HTTP/1.1 400 Bad Request
Access-Time: 1435592076
PSWS-Version: 1.6.0.14

...

 

I guess that's because of CURL.

 

Does anybody know how to bypass this problem ?

 

Regards

Link to comment
Share on other sites

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...