XML file - product availability
URL to download product stocks
https://api.deante.pl/api/stocks?key=API_KEY
Definition of file components
<PRODUCTS> <PRODUCT> <ID>XXX_XXXX</ID> <UID>XXX XXXX</UID> <EAN>0000000000000</EAN> <STOCK>0</STOCK> </PRODUCT></PRODUCTS>
Available fields
<PRODUCTS>
The main object, which includes a list of products.
<PRODUCT>
An object that defines a product, containing all the information about it.
<ID>
A unique product code used by the manufacturer that does not contain whitespace characters.
<UID>
A unique product code used by the manufacturer, containing whitespace characters.
<EAN>
EAN-13 barcode. A unique barcode printed on the product box.
<STOCK>
Stocks. The field contains the interval quantity of products. There are 4 values of the field, defined as follows:
- 0 - No products available.
- 1 - From 1 to 4 products available.
- 2 - From 5 to 15 products available.
- 3 - Above 15 available products.