Webservices Presentation
Introduction
The Spartoo marketplace webservices automatically manage the information flux between your website and the Spartoo website.Almost every action that is possible in the backoffice is also possible via the webservice.
The Spartoo marketplace webservices use the HTTP protocol.
Each webservice has a different url and specific parameters.
Unless stated otherwise in the webservice documentation, the parameters can either be in GET or in POST.
The webservices will send an XML file that contains an error code.
If the error code equals 1, everything is ok, and XML file contains the required information and/or the required action has been taken.
If the error code is less than 0, then there was an error and you must refer to the webservice error codes to understand what did not function correctly.
Webservices List
Product management
-
Importing products ( xml_import_products.php )
This webservice allows you to create and modify product attributes.
> More information
-
Quick stock updates ( xml_maj_stock.php )
This webservice allows you to quickly modify your product stock without sending other attributes.
> More information
-
Quickly update the stock of multi products( xml_maj_stock_batch.php )
This webservice allows the user to make changes quickly to the stock of several products without sending all the other attributes
> More information
-
Export catalogue online ( xml_export_products.php )
This webservice allows you to export the entire catalogue currently online.
> More information
-
Acknowledgment of products ( xml_check_status_products.php )
This webservice allows to recover the status of one or more products on the site. If the product is not online, it allows to know the reason
> More information
Order management
-
Exporting orders ( xml_export_orders.php )
This webservice allows to you download a list of all orders from a specified date
> More information
-
Update an order ( xml_maj_orders.php )
This webservice allows you to update an order status.
> More information
-
Export packing slip ( xml_export_bl.php )
This webservice allows you to get the packing slip for an order.
>More Information
Return management
-
Exporting returns ( xml_export_returns.php )
This webservice allows you to download a list of all returns from a specified date
> More information
-
Update a return ( xml_maj_returns.php )
This webservice allows you to update the status of a return.
> More information