Fonction Prestashop.ModifierStock  [Prestashop : Modifier]

Syntaxe

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

Description

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

Exemple

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

Modifie la ressource et retourne son XML.