Last active
February 16, 2017 09:17
-
-
Save simahawk/2af528931519c6a48857aec9dac0a895 to your computer and use it in GitHub Desktop.
create/update Prestashop manufacturer - webservice requests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- http://ps.url/api/addresses --> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<prestashop> | |
<address> | |
<city>Lausanne Ouchy</city> | |
<id_manufacturer>13</id_manufacturer> | |
<firstname>Test</firstname> | |
<id_country>19</id_country> | |
<phone>123321321</phone> | |
<address1>Street 1</address1> | |
<address2>Street 2</address2> | |
<alias>contact</alias> | |
<other>False</other> | |
<phone_mobile>31242353424</phone_mobile> | |
<lastname>Manufacturer1</lastname> | |
<id>15</id> | |
<postcode>1000</postcode> | |
</address> | |
</prestashop> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- http://ps.url/api/manufacturers --> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<prestashop> | |
<manufacturers> | |
<associations> | |
<!--<addresses>15</addresses>--> | |
<!-- makes no difference --> | |
<addresses> | |
<id>15</id> | |
</addresses> | |
</associations> | |
<active>True</active> | |
<name>Test Manufacturer1</name> | |
<id>13</id> | |
</manufacturers> | |
</prestashop> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment