Bukimedia / PrestaSharp

CSharp .Net client library for the PrestaShop API via web service
GNU General Public License v3.0
155 stars 151 forks source link

After add product how to retrieve the id?? #454

Closed LorenzoTecnab closed 10 months ago

LorenzoTecnab commented 1 year ago

After have successfully added a new product if I inspect the myProduct.Id i see nothing... How to know the Id of product yet added?? Thx Lorenzo

jesiiu commented 1 year ago

Hello, You have id of added product in response od Add method return prestashopFactory.Add(data).id; <- this is from my code and it work for every Added informations to prestashop