Jump to content

Getting an error "Undefined index: id" when updating product by API


guibrn

Recommended Posts

Hi everyone,

When I update a product with a PUT on the API, I'm getting the following error <![CDATA[[PHP Notice #8] Undefined index: id (/var/www/html/classes/Product.php, line 5714)]]> whereas the product is well updated.

Furthermore, the quantity of the product is set to 0 and I don't know why...

Could you help me?

Thanks a lot.

 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...