← Back to homepage

XML Feed Specification

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

1. Using API integration

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

Developer info »

2. 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.

A) Product feed

Required fields

Recommended fields

Optional fields

Feed example

<?xml version="1.0" encoding="utf-8"?>
<PRODUCTS>
  <PRODUCT>
    <ITEM_ID>1</ITEM_ID>
    <TITLE>Product</TITLE>
    <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>
    <BRAND>Brand name</BRAND>
    <SALE_PRICE>17.99</SALE_PRICE>
    <MARGIN>4.50</MARGIN>
    <NUM_OF_SALES>125</NUM_OF_SALES>
    <STOCK>42</STOCK>
    <DELIVERY_DATE>3</DELIVERY_DATE>
    <DELIVERY_TEXT>In stock</DELIVERY_TEXT>
    <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>
    <ITEM_GROUP_ID>1</ITEM_GROUP_ID>
    <GROUP_TITLE>Product group name</GROUP_TITLE>
    <DESCRIPTION>Product description</DESCRIPTION>
    <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>

B) Category feed

Required fields

Recommended fields

Optional fields

Feed example

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

C) Brand feed

Required 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>

D) Article feed

The article feed is used to transfer blog content, magazine articles or other text-based posts from your website to Magrano. This allows users to search within articles and find relevant answers directly from your content database.

Required fields

Optional fields

Feed example

<?xml version="1.0" encoding="utf-8"?>
<ARTICLES>
  <ARTICLE>
    <TITLE>Blog article title</TITLE>
    <URL>https://www.yourstoreaddress.com/blog/article-title</URL>
    <CONTENT>The complete text of the article goes here...</CONTENT>
    <ARTICLE_ID>1</ARTICLE_ID>
    <PEREX>Short introductory text or perex of the article.</PEREX>
  </ARTICLE>
</ARTICLES>

Last updated: April 2026