Jump to content

Retrieving data for all languages via WebService


tboffice

Recommended Posts

Hi Friends, I've envolved in a great project to create a windows client that operate with Prestashop, the routines that it works by the 3306 port are complety finished and working fine, the problem is the hostings that the 3306 port are closed for securiry reasons, in this case, i want to implement web-services in my application.

 

The issue o the problem that I found is simple, but I search and search by web within results :(

 

If I type in the navigator the follow URL

 

&filter[id]=[5]"]http://localhost/api/products/?display=[description_short]&filter[id]=[5]

 

I retrieve the short_description field data for the product id = 5, but I retrieve in DEFAULT LANGUAGE (in my case, id=3)

 

The question:

 

I have to put that URL to show me the data in another language?, for example in language id = 1 (english)

 

Thanks for all.

 

PD: URL not valid ?display=[enEN:description_short]... this retrieve a php error.

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