Fonction Prestashop.LitCaracteristiqueArticle  [Prestashop : Lit]

Syntaxe

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

Description

Lit une ressource "Caractéristique article" (ressource product_features de Prestashop). Retourne du XML, ou du JSON avec format_json à 1.

Exemple

Prestashop.LitCaracteristiqueArticle(url : "https://monsite.fr/", apikey : <%CléApi%>, option_id : 1)

Retourne le XML de la ressource.


Prestashop.LitCaracteristiqueArticle(url : "https://monsite.fr/", apikey : <%CléApi%>, option_id : 1, format_json : 1)

Retourne la ressource en JSON.