← Back to homepage

XML Feed Specification

Transferring data from your e-shop to Magrano can be done in two ways.

1. Using XML data files

For the best search results, we recommend using our recommended file format, which is described in this document.

If you have your own XML file format, we recommend that it includes all required and recommended fields.

2. Using API integration

If you want to send product data via API, please contact our technical support.

Developer info »

Product feed

Feed fields

Feed example

<?xml version="1.0" encoding="utf-8"?>
<PRODUCTS>
  <PRODUCT>
    <ITEM_ID>1</ITEM_ID>
    <ITEM_GROUP_ID>1</ITEM_GROUP_ID>
    <TITLE>Product</TITLE>
    <DESCRIPTION>Product description</DESCRIPTION>
    <BRAND>Brand name</BRAND>
    <CATEGORIES>
      <CATEGORY id="2">Main category | Category 1</CATEGORY>
    </CATEGORIES>
    <URL>https://www.yourstoreaddress.com/product</URL>
    <IMG>https://www.yourstoreaddress.com/product_image.png</IMG>
    <PRICE>19.99</PRICE>
    <SALE_PRICE>17.99</SALE_PRICE>
    <LABELS>
      <LABEL>
        <LABEL_NAME>New</LABEL_NAME>
        <LABEL_CSS_CLASS>label_new</LABEL_CSS_CLASS>
        <LABEL_BACKGROUND_COLOR>#00ff00</LABEL_BACKGROUND_COLOR>
        <LABEL_TEXT_COLOR>#ffffff</LABEL_TEXT_COLOR>
      </LABEL>
    </LABELS>
    <PARAMS>
      <PARAM>
        <PARAM_KEY>Size</PARAM_KEY>
        <PARAM_VALUE>XL</PARAM_VALUE>
      </PARAM>
      <PARAM>
        <PARAM_KEY>Color</PARAM_KEY>
        <PARAM_VALUE>Yellow</PARAM_VALUE>
      </PARAM>
    </PARAMS>
    <RELATED_PRODUCTS>
      <RELATED_ITEM_ID>2</RELATED_ITEM_ID>
    </RELATED_PRODUCTS>
  </PRODUCT>
</PRODUCTS>

Category feed

Feed fields

Feed example

<?xml version="1.0" encoding="utf-8"?>
<CATEGORIES>
  <CATEGORY>
    <ID>1</ID>
    <PARENT_ID>0</PARENT_ID>
    <TITLE>Main category</TITLE>
    <HIERARCHY>Main category</HIERARCHY>
    <URL>https://www.yourstoreaddress.com/main_category</URL>
  </CATEGORY>
  <CATEGORY>
    <ID>2</ID>
    <PARENT_ID>1</PARENT_ID>
    <TITLE>Category 1</TITLE>
    <HIERARCHY>Main category | Category 1</HIERARCHY>
    <URL>https://www.yourstoreaddress.com/category_1</URL>
  </CATEGORY>
</CATEGORIES>

Brand feed

Feed fields

Feed example

<?xml version="1.0" encoding="utf-8"?>
<BRANDS>
  <BRAND>
    <TITLE>Brand name</TITLE>
    <URL>https://www.yourstoreaddress.com/brand</URL>
  </BRAND>
</BRANDS>

Last updated: March 2026