https:
Transkrypt
https:
New XML files for integration: For integration with our on-line wholesale we have prepared new, improved xml files containing more information and a different structure. New XML files have additional information such as material composition, buyer's sex, product code, the whole category tree. XML file with photos has additional information such as color and the main photo. New XML files will be available for download on new rules. The previous files have not changed and are still available at the same address. You can download new XML files in two ways: 1. Manually: after logging on to our website and downloading the files. Files are available in the menu under the link [XML INFORMATION]. 2. Automatically: via a client application that will automatically download the files. We do not provide the integration application. The application should send query via POST or GET to address: https://www.kontri.biz/default/xml/getxmlapi with parameters: login = customer login filename = depending on how the file is downloaded one of the values: api_depositorystate api_products api_productsphotos lang = customer language (one of the values: pl-PL, en-US, de-DE) currency = customer currency (one of the values: EUR, USD, GBP ) hash = md5(login + filename + lang + currency + token) where token is unique custommer's identifier. Token is available for download in menu under the link [XML INFORMATION]. Sample call for GET XML files: for example: login: [email protected] token: HKPL_Hurtownia_7710f76140db8b5f1c34061e061ebfb1 inventory feed: https://www.kontri.biz/default/xml/getxmlapi/login/[email protected]/filename/api_depositorystate/lang/ pl-PL/currency/PLN/hash/a890a82fb9b2ff1b5b517bd7e0e72b73 products feed: https://www.kontri.biz/default/xml/getxmlapi/login/[email protected]/filename/api_products/lang/pl- PL/currency/PLN/hash/f04bbf32bd478e8bf4cabec342c7580e photos feed: https://www.kontri.biz /default/xml/getxmlapi/login/[email protected]/filename/api_productsphotos/lang/plPL/currency/PLN/hash/2cdcd1c00852eb6f0c7daea70ddf2164 Description of the inventory feed's structure: Inventory feed is generated every hour - there's always date and time when the file was generated stated in the file header. The file contains only those products with available stock. … <PRODUKT produkt_id="46266"> <INSTANCJA id_instancji="137113"> <ILOSC>10.00</ILOSC> </INSTANCJA> <INSTANCJA id_instancji="137112"> <ILOSC>1.00</ILOSC> </INSTANCJA> <INSTANCJA id_instancji="137114"> <ILOSC>1.00</ILOSC> </INSTANCJA> </PRODUKT> … produkt_id – unique identifier of a product that indicates the product with all its colors and sizes id_instancji – unique identifier of a product that indicates the product in one particular color and size ILOSC - tag containing the current stock data Description of the product feed's structure: Product feed is generated once a day - here's always date and time when the file was generated stated in the file header. The file contains only those products with available stock. … <KATEGORIA> <id>287</id> <id_rodzica>22</id_rodzica> <nazwa>legginsy</nazwa> </KATEGORIA> <KATEGORIA> <id>22</id> <id_rodzica>3</id_rodzica> <nazwa>odzież</nazwa> </KATEGORIA> … id - unique identifier of a category id_rodzica - unique identifier of a parent category nazwa – category name … <TYP> <id>304</id> <kategoria_id>287</kategoria_id> <nazwa>Klasyczne</nazwa> </TYP> … id - unique identifier of a product type kategoria_id - unique identifier of the category to which this type belongs nazwa – type name … <KOLORY_PODSTAWOWE> <KOLOR> <id>8201</id> <nazwa>niebieski granatowy</nazwa> </KOLOR> … </KOLORY_PODSTAWOWE> id – unique identifier of the base color nazwa – base color name <KOLORY_PRODUCENTA> <KOLOR> <id>8088</id> <nazwa>gołębi</nazwa> </KOLOR> … </KOLORY_PRODUCENTA> … id – unique identifier of manufacturer's color nazwa – manufacturer's color name Each product has a base color and the color of the manufacturer assigned. .. <ROZMIAR> <id>113465</id> <nazwa>85g</nazwa> </ROZMIAR> id – unique identifier of size nazwa – size name … <PRODUCENT> <id>113483</id> <nazwa>mat</nazwa> </PRODUCENT> id – unique identifier of manufacturer nazwa – manufacturer’s name … <MARKA> <id>113484</id> <nazwa>mat</nazwa> </MARKA> id – unique identifier of brand nazwa – brand name … <SUROWIEC> <id>66490</id> <nazwa>poliester</nazwa> </SUROWIEC> … id – unique identifier of material composition nazwa – material’s composition name <PRODUKT> <id_klasy>38765</id_klasy> <id_klasy2/> <nazwa>Mat 1550/21 Cezanne</nazwa> <id_kategorii>5</id_kategorii> <id_typu>81</id_typu> <cena_netto>39.50</cena_netto> <opis_produktu>Jeżeli chcesz, aby Twój biustonosz był wygodny, ale nigdy nie zrezygnujesz z tego, aby wyglądad w swojej bieliźnie seksownie i elegancko, mamy propozycję właśnie dla Ciebie. Doskonały duet koronki i satyny na miseczkach. Tył biustonosza również gładki, wzmocniony bocznymi fiszbinami. Doskonale podtrzymuje i unosi duży biust. Posiada nieodpinane ramiączka. Skład: 80% poliamid, 10% elastan, 10% inne włókna.</opis_produktu> <id_producenta>113483</id_producenta> <id_marki>113484</id_marki> <SUROWCE> <surowiec1>66393</surowiec1> <surowiec2>66394</surowiec2> <surowiec3>66533</surowiec3> </SUROWCE> <plec_kupujacego>K</plec_kupujacego> <new>N</new> <rodzaj_oferty>P</rodzaj_oferty> <KOMPLET> <id_klasy>38763</id_klasy> </KOMPLET> <INSTANCJE> <INSTANCJA> <id_instancji>112715</id_instancji> <id_produktu_altum>117159</id_produktu_altum> <kod_produktu>mat.85G.1550-21.golebi.mat.010101</kod_produktu> <kod_kreskowy/> <id_rozmiaru>113465</id_rozmiaru> <id_koloru>8088</id_koloru> <id_koloru_podstawowego>8202</id_koloru_podstawowego> </INSTANCJA> </INSTANCJE> </PRODUKT> … id_klasy - unique identifier of a product that indicates the product with all its colors and sizes id_klasy2 - unique identifier of a product that indicates the product with all its colors and sizes from kontri.biz id_kategorii - unique identifier of the category's lowest node id_typu - unique identifier of a product type cena_netto – nett price at which the product is sold on kontri.biz surowiec – tag containing the identifier of material composition plec_kupujacego – tag containing one of the values: F - female, M - male, D - child new - tag containing one of the values: N - no new, T - new rodzaj_oferty - tag containing one of the values: C - current offer, P - Promotion, S - Sale KOMPLET – tag containing identifier of products that constitute a set. Set of products indicate only complimentary products, they are not sold together. INSTANCJE – tag containing all instances of the product with the available stock. An instance of the product is the product in one particular color and size. id_produktu_altum – unique identifier of a product from ERP which indicates the product in one particular color and size. kod_produktu - unique product code consisting of: three letter symbol for a name of the brand, size, model, manufacturer's color, three letter symbol for the name of the manufacturer. id_rozmiaru – identifier of the product size id_koloru – identifier of the manufacturer's color id_koloru_podstawowego – identifier of the base color Description of the photo feed's structure: Photo feed is generated once a day - there's always date and time when the file was generated stated in the file header. This file contains all the photos of products in a given color provided that those color variations have at least one size available in our stock. <PRODUKT> <id_klasy>46266</id_klasy> <id_klasy2/> <KOLORY> <KOLOR> <id_koloru>7557</id_koloru> <url_zdjecia_glownego> http://mcmedia.kontri.pl/public/files/productimages/big/media_94312.jpg </url_zdjecia_glownego> <zdjecia> <zdjecie>http://mcmedia.kontri.pl/public/files/productimages/big/media_94313.jpg</zdjecie> </zdjecia> </KOLOR> <KOLOR> <id_koloru>7533</id_koloru> <url_zdjecia_glownego>http://mcmedia.kontri.pl/public/files/productimages/big/media_94313.jpg</url_zdjecia_glow nego> <zdjecia> <zdjecie>http://mcmedia.kontri.pl/public/files/productimages/big/media_94312.jpg</zdjecie> </zdjecia> </KOLOR> </KOLORY> </PRODUKT> id_koloru – identifier of manufacturer's color url_zdjecia_glownego – url to main photo of the product in a given color zdjęcia – tag contains url to other photos of the product in a given color