Prestashop soap api stock intergration

We need to show stock from our distributor via a SOAP interface that will extracts the barcode from our website to there webserver each time a product is selected on our web page. we want it to pull the stock level from their server to show above the qty text box (attached image), we want it so we add the EAN13/ barcode to the product and the stock will automaticly show.

Examples of the SOAP file specification below


#$ini = ini_set("soap.wsdl_cache_enabled","0");


$api_key = "nnnnnn"; //Unique ID required to access the service, please request this from BTC

$btc_loc="https://www.-----------------/edi/[url removed, login to view]";


$client = new SoapClient(null, array('location' => $btc_loc,

'uri' => $btc_uri,



# query an array of up to 5000 stock codes

$btc_stock_ids=array(1,6,15,16,167,169,170,171,172,173,175,176,5177,5178,5179,5180,5181); // array of sample sotck id's

$StkQtys = $client->stock_qty_array($api_key,$btc_stock_ids);

# returns hash map array, keys are stock_id values are stock qty. only valid stock id's are returned, incorrect stock id's are not returned.

echo var_dump($StkQtys);

# Actual stock figure is returned for values up to 500, stock figures over 500 are return as 501.




Compétences : AJAX, Javascript, jQuery / Prototype, PHP, Architecture Logicielle

Voir plus : prestashop soap, soap prestashop, website for btc, request specification, new prestashop, soap api prestashop, barcode website, stock image, soap, soap server, javascript soap, javascript prestashop, image edi, image compression, extracts, c#soap, c# api service, c api service, php api service, php text array, 501 , add stock, php image compression, access soap, php api soap

Concernant l'employeur :
( 7 commentaires ) Haverhill, United Kingdom

N° du projet : #1651394

2 freelance ont fait une offre moyenne de 200 $ pour ce travail


We can help in your project, please check PMB and our ratings/reviews to get idea of our experience.

150 $ USD en 3 jours
(224 Commentaires)

Custom software development - <b><i>Removed by Admin</i></b>

250 $ USD en 1 jour
(0 Commentaires)