Fonction Prestashop.LitDétailCmd  [Prestashop : Lit]

Syntaxe

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

Description

Lit une ressource "Détail des commandes" (ressource order_details de Prestashop). Retourne du XML, ou du JSON avec format_json à 1.

Exemple

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

Retourne le XML de la ressource.


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

Retourne la ressource en JSON.