Uvozni proizvod Asynchrone

Webservice URL : https://sws.spartoo.com.hr/mp/xml_import_products_async.php

Ova se web-usluga mora koristiti na isti način kao xml_import_products
Jedina razlika s ovom web uslugom je ta što integrira proizvode asinkrono

Lista parametara

The settings of this webservice must be registered in POST

Settings Description
partner Must contain your unique code :
xml XML character string containing the list of elements to be created or updated


Optional settings that can be passed in POST

Settings Description
force_description Set to 1 if you want to force product descriptions to be updated: delete existing descriptions, edit the description of a product with zero stock, etc.
force_overwrite Set to 1 if you want to remove stock errors from the catalogue. Be careful to send the rest of the catalogue without overwriting immediately afterwards.
async Set to 1 if you wish to use the asynchronous method



XML format returned


<root>
	<url>string</url>
	<errors>int</errors>
</root>


List of webservice error codes


Kod Opis
1 Nema pogreške u parametrima
-1 The parameter partenaire has not been set up or it is empty

XML response field description


This webservice return you the url to call to get back the webservice responses. If there was an error, it will be printed in a status markup. Otherwise, you will get an xml contening the import result.
This result will be the same format as xml_import_products. Below is the list of statuses returned by the webservice:
Status id Status
1 Fichier pas encore traité
2 Aucune difference trouvé dans le fichier transferé
3 Resultat plus disponible
4 Erreur lors du transfert de fichier