Jump to content

Adresses webservice


Recommended Posts

Hello , i have a problem with put a new address webservice.

 

I sent this xml

 

XML SENT

xml=<?xml version="1.0" encoding="UTF-8"?>
<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
<address>
    
    <id_customer>1</id_customer>
    <id_manufacturer/>
    <id_supplier/>
    <id_warehouse/>
    <id_country>10</id_country>
    <id_state>123</id_state>
    <alias>Indirizzo</alias>
    <company/>
    <lastname>DOE</lastname>
    <firstname>Joe</firstname>
    <vat_number/>
    <address1>via pippo</address1>
    <address2/>
    <postcode>95030</postcode>
    <city>Catania</city>
    <other/>
    <phone>123456</phone>
    <phone_mobile>123456</phone_mobile>
    <dni/>
    <deleted/>
    <date_add/>
    <date_upd/>
</address>
</prestashop>

 

bat i have bad request.....

 

Why?

Thanks!!!

Link to comment
Share on other sites

×
×
  • Create New...