Jump to content

Unable to update quantity of product through Prestashop API


gauri31

Recommended Posts

Hello,

 

We have enabled the avdanced inventory stock management.

We have created warehouse and it contains products.

I want to update the quantity of products through API.

 

We are trying follow request

 

 

$opt1 = array('resource' => 'stock_avaolables');
                 opt1['putXml'] = $xml->asXML();
            
            $opt1['id'] = $id;
            
            $xml1 = $webService->edit($opt1);

 

But its giving the error 

 

Class or object is must be same. As StockAvailable class not found in webservice/webserviceRequest.php

 

How to resolve this issue.

 

Please let us know ASAp

 

Thanks

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...