Fonction Prestashop.ModifierClient  [Prestashop : Modifier]

Syntaxe

Prestashop.ModifierClient(url : < Url >, apikey : < Clé API >, elem_id : < Identifiant >, contenu : < XML > [, format_json : < Format JSON ? >])

Description

Modifie une ressource "Client" (ressource customer de Prestashop). Retourne du XML, ou du JSON avec format_json à 1.

Exemple

Prestashop.ModifierClient(url : "https://monsite.fr/", apikey : <%CléApi%>, client_id : 1, contenu : <%Xml%>)

Modifie la ressource et retourne son XML.