RickY25 Posted October 14, 2020 Share Posted October 14, 2020 (edited) Bonjour la comu, Version de PS : 1.7.2.1 Code (original/modifié) : original (quelques lignes de modifier pour corriger quelques bugs de version) Hébergement : AWS dedier Version de PHP : 7.1.33-19+ubuntu18.04.1+deb.sury.org+1 Version de MySQL : 10.1.44-MariaDB-0ubuntu0.18.04.1 J'aimerais savoir pourquoi quand je creer une commande via l'api et methode POST je suis obliger de faire un PUT juste apres pour pouvoir mettre le bon status a ma commande. Je lui donne un status et quand je verifie le retour de la methode POST le status est vide. Je vous laisse un exemple en photo: 59 = accepté 11 = payement a distance accepté Par avance merci de vos reponses. Cordialement, RickY. Edited October 14, 2020 by RickY25 (see edit history) Link to comment Share on other sites More sharing options...
Jotadrive Posted October 28, 2020 Share Posted October 28, 2020 Hi mate, how could you create an order via API REST? Thank you Link to comment Share on other sites More sharing options...
RickY25 Posted October 28, 2020 Author Share Posted October 28, 2020 Hi, I created the order following this method ==> https://www.h-hennes.fr/blog/2018/12/21/prestashop-passer-des-commandes-via-lapi/ I developed it in python not php but the process remains the same. Sorry for the resource it's in French. Good luck Link to comment Share on other sites More sharing options...
Jotadrive Posted October 28, 2020 Share Posted October 28, 2020 Thank you Rick Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now