Asynchronous product import
Webservice URL : https://sws.spartoo.eu/mp/xml_import_products_async.phpThis webservice should be used in the same way as xml_import_products
The only difference with this webservice is that it integrates the products asynchronously.
When you click on this webservice, it returns a URL.
If you click on this URL, you will get the status of the file integration.
List of Parameters
The settings of this webservice must be registered in POSTSettings | 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
XML format returned
<root> <url>string</url> <errors>int</errors> </root>
List of webservice error codes
Code | Description |
---|---|
1 | No error with parameters |
-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 |