Jump to content

Erreur dans la doc anglaise sur les webservice


Recommended Posts

Bonjour,

 

n'ayant pas trouvé comment le signaler sur la doc de prestashop je le fais ici.

 

Pour la page http://doc.prestasho...ote+Online+Form il y a une erreur pour :

 

 

Calling the web service is similar to what we have seen previously:

 

 

$opt = array('resource' => 'customers');
$opt['xml'] = $xml->asXML();
$xml = $webService->add($opt);

 

 

En effet, c'est

 

$opt['postXml'] = $xml->asXML();

et non

$opt['xml'] = $xml->asXML();

 

Si non on a le droit à un message d'erreur comme quoi les arguments ne sont pas bons.

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