s.elettronew Posted March 27, 2023 Share Posted March 27, 2023 (edited) Hi guys I have problems with the webservice. I neet to update a manufacturer, only for a specific language. In my case, for example, i need to update the id_manufacturer 14 in the id_lang 4. But he update the fields of id lang 4 but he leave me all fields of the other languages in blank. So, mi url is structured like that:https://mysite.com/api/manufacturers/14?language=4 And this is my XML structure: <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <manufacturer> <id>14</id> <active>1</active> <name>NAME</name> <description> <language id="4">description></language> </description> <short_description> <language id="4">short description</language> </short_description> <meta_title> <language id="4">meta title</language> </meta_title> <meta_description> <language id="4">meta description</language> </meta_description> <meta_keywords> <language id="4">meta keywords</language> </meta_keywords> </manufacturer> </prestashop> The problem is the manufacturer of id_lang 4 is correctly updated, but the fields of all rest of languages, are blank now! Example How can i concerne the modify just for the fields of id lang 4 and NOT leave in blank the fields of other languages? Edited March 27, 2023 by s.elettronew (see edit history) 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