Jump to content

Mistake in Development Guide


playmono

Recommended Posts

Hi all,

Recently I was using the official guide for make webservices and I noticed an error in this URL: http://doc.prestashop.com/display/PS14/Chapter+5+-+Modification+-+Update+client

The URL says that to edit a resource, you must give as a parameter: 

$opt[ 'xml' ] = $xml->asXML(); //XML file definition

This is incorrect. Searching through the code (file: PSWebServiceLibrary.php - line 331) says that this should be:

$opt[ 'putXml' ] = $xml->asXML(); //XML file definition
Link to comment
Share on other sites

  • 3 weeks later...

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