sjgoodz Posted November 20, 2021 Share Posted November 20, 2021 Hey, I think I found a bug This works - https://<webservice key>@<prestashop base url>/api/products/?display=[id,price,name] This doesn't work - https://<webservice key>@<prestashop base url>/api/products/?display=[id,price,name]/?output_format=JSON The error I get is saying 'The 'display' syntax is wrong.', does anyone know if I'm doing anything wrong? Many thanks, S Link to comment Share on other sites More sharing options...
DavidR39 Posted January 7, 2022 Share Posted January 7, 2022 Hey, You need to replace this : https://<webservice key>@<prestashop base url>/api/products/?display=[id,price,name]/?output_format=JSON By : https://<webservice key>@<prestashop base url>/api/products/?display=[id,price,name]&output_format=JSON You can use several parameters like that : yoururl/api/products/?param1=value1¶m2=value2&..... Best regards, David 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