Jump to content

Webservice doen't render id_image_default


Pascal

Recommended Posts

Hello

 

I used webservice API like that :

http://www.mysite.com/api/products?ws_key=myKey&output_format=JSON&filter[active]=1&filter[id_category_default]=14&display=[id,name,id_default_image,reference,description_short,price,wholesale_price,link_rewrite,description]&sort=[id_DESC]&limit=20

It worked well

But now I get an error 500. It is the same when I want product information

When i remove id_default_image from url, it work's

I didn't update pretashop between this two events.

Is someone could give me a reason why il doent work ? And how to get the id of  product image ?

Regards

Pretahop version : 1.6.1.15

Php version : 7.1

 

 

Edited by Pascal (see edit history)
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...