Fonction Prestashop.LitPrixSpécifique  [Prestashop : Lit]

Syntaxe

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

Description

Lit une ressource "Prix spécifique" (ressource specific_prices de Prestashop). Retourne du XML, ou du JSON avec format_json à 1.

Exemple

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

Retourne le XML de la ressource.


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

Retourne la ressource en JSON.