Data import and export

Export configuration

Updated 16.10.2026

The functionality enables exporting data (price lists, etc.) in the desired format (JSON, CSV, XML, etc.) which is specified as a template. This is useful when products with prices, stock, pictures, etc., should be exported in the structured format for external services, such as online stores or ERP systems.


Supported templates:

  • Mimovrste
  • BigBang
  • BigBang - discounted price
  • EnaA
  • Shoppster (Instructions)

An example of a new definition

Example - BigBang:

  1. Pre-preparation (the existing products, price lists, and warehouses can be used):
    1. In MetaKocka if no products that should be exchanged with BigBang are added, create them.
    2. Create the sales price list, which will be valid for exchange with BigBang, if such a price list still exists
    3. Create a new warehouse if such a warehouse will be valid for exchange, otherwise use the existing warehouse
  2. In Additional settings -> Export configuration -> click on the ''New'' button
  3. Select the "BigBang" template and confirm it with the ''Add'' button
  4. In the configuration, select the price list that will be valid for BigBang and the warehouse that will be used, and then save. 
  5. If the URL is opened, the products will not be displayed, since the required parameters are not filled in.
  6. The requested parameters for products should be filled in:
    1. Additional PPC columns should be displayed on the price list. PPC should be filled in and tax should be set.
    2. Select the product category and enter the brand.
  7. Now, if the URL is opened again, the products will be displayed.



Settings



The following can be set for individual export configuration:


Name

Name of the connection that is displayed only in the list of connections. This can be set up to your preference.

UUID

A unique identifier that is used in the URL address for identifying an exchange. Prepared automatically for new exchange and cannot be changed.


Security key

Security key that is used in the URL address for exchange authentication. Prepared automatically for new exchange and cannot be changed.


URL

Web link that is used to access the exchange printout. This URL is shared with BigBang and contains data that is requested by them.


E-mail address for reporting errors

If an error occurs during the generation of the exchange printout, an e-mail will be sent with the error(s) to the provided e-mail address. Multiple e-mail addresses can be provided, separated by commas. E-mail can be sent up to 5 times a day. 


Example of usage: requested data is missing from the particular product when the URL sent is opened by BigBang leading to receiving all errors occurring in the generated data.


Permitted IP addresses

For extra security, you can enter the IP address from which the access to data (located in the shared URL address) is authorized


Data source

Indicating from where the data will be read Izbira iz kje se berejo podatki za generiranje izpisa izmenjave. 


General price list

If the price list as the data source is selected, one or more price lists, from which the products will be read, should be selected. Only sales price lists are displayed. If multiple price lists have the same product, such a product will be taken into account from the first price list.


Additional price list 1

If the price list as the data source is selected, the option for additional price list selection is available. Displayed are purchase and sales price lists. This price list serves only as a supplement to the basic price list. If an additional price list has identical products to the basic one, for such products, prices from additional price lists are used as supplements. The appropriate example would be discounted or purchase prices.


Warehouse

One or multiple warehouses should be selected from which the product stock will be read.


Requested parameters

All parameters mandatory for exchange are entered here, separated by a comma. Such are entered automatically but can be still changed. If products are printed out and some of them do not fulfill all the parameters, such a product will not be added to the printout, and an error will be reported for that product, which will be received by e-mail.


Optional parameters

All parameters that can be optional for exchange are entered here. If products are printed out and some of them do not fulfill all parameters, the notification indicating that parameters are missing for that product will be displayed. The product will still be added to the final printout. Optional parameters are available in the List of parameters table below.


Response - type

Type of template which will be displayed. (JSON, XML, Text)


Response - template


Automatically generated when the new template is added.


Here, the template for the exchange in the type selected above must be entered. The template must be filled in in the FreeMarker style and parameters from their respective list above must be used.

Primeri uporabe:1. Nastavljanje vrednosti: <izdelek st="${product.number!""}">2. Pogoj: <#if product.url??><url>${product.url!""}</url></#if>3. Seznam: <#list products as product><izdelek st="${product.number!""}"></#list>
XML


Error - template


Automatically generated when the new template is added.


Here, the error template for the exchange in the type selected above must be entered. The template must be filled in in the FreeMarker style and parameters from their respective list above must be used. This template will be displayed in case of errors when generating the exchange printout.


Additional settings

MetaKocka support can set additional settings as well:


Calls limit

Indicating how many calls can be made during the day. The default value is 100. If a higher value is needed, contact our support.



Parameters list

The following parameters can be used in the template.

ParameterMeaningExtra column ID
company_titleName of your company
productsList of products from a selected price list
product.numberConsecutive number of the product in the provided list
product.idMetaKocka product IDMee
product.nameProduct name
product.codeProduct code
product.eanProduct bar-code
product.descriptionProduct description
product.packedAmountQuantity per package
product.packagingAmountThe number of products belonging to a set. By default it is 1, automatically it is set to more, if the products belonging to a set are already in the selected price list.
product.isSetTrue/False, if the product belongs to a set
product.eanListBar-code list of products in the set
ean.countConsecutive number of the barcode of the product belonging to a set 
ean.valueProduct bar-code in the set
product.brandProduct brand
product.brand_fUPProduct brand - uppercase letters
product.largeImgLarge picture
slika_velika
product.smallImgSmall picture
slika_mala
product.extraImg1Additional picture 1dodatna_slika_1
product.extraImg2Additional picture 2dodatna_slika_2
product.extraImg3Additional picture 3dodatna_slika_3
product.extraImg4Additional picture 4dodatna_slika_4
product.imagesCommaA merged sequence of pictures separated by a comma. A sequence is created based on the picture fields above. What is entered in the ''Large picture'', will always be at the beginning of the list.

product.imagesList of additional pictures only. Each picture has its own number and URL in the list.
image.numberNumber of additional picture
image.urlURL of additional picture
product.urlURLurl
product.sellerUrlProducer web pagespletna_stran_proizvajalca
product.instructionsInstructionsinstructions
product.packagingTypePackaging typeproduct_packaging_type
product.categoryShopCodeCategory code of the online storewebshop_category_code
product.modelModelproduct_model
product.attributesAttributes - Example of record "Color=Black;Size=M;..."product_attributes
attribute.id"Color" from the example above
attribute.value"Black" from the example above
product.energyStickerEnergy stickerenergy_sticker
product.productPaperProduct paperproduct_paper
product.securityPaperSecurity papersecurity_paper
product.benefitBenefitproduct_benefit
product.supplyDateSupply date (days)product_supply_date
product.groupIdID of product groupproduct_group_id
product.warrantyWarranty
product_warranty
product.customCategory
Categoryproduct_category
product.discountDiscount from the price list. Column "P(%)"
product.discount_fSIDiscount from the price list. Column "P(%)". A decimal separator is a comma.
product.ppcPPC from the price list. Column "PPC"
product.ppcWithDiscountPPC with the discount included
product.ppcWithDdvPPC with tax from the price list. Column "PPC with VAT"
product.ppcWithDdv_fSIPPC with VAT from the price list. Column "PPC with VAT". A decimal separator is a comma.
product.ppcTaxFactorPPC VAT from the price list. Column "PPC VAT (%)"
product.ppcExtraPPC with the included discount from the additional price list
product.netPriceExtraNet price from additional price list
product.netPriceWithDiscountExtraNet price including discount from the additional price list

product.grossPriceExtraPrice with VAT from additional price list
product.netPriceNet price from the price list. Column ''Price''. 
product.netPrice_fSINet price from the price list. Column ''Price''. The decimal separator is a comma.
product.taxRateVAT from the price list. Column "VAT (%)"
product.categorySequence of categories. The sequence is composed of all categories that are selected for the product. A comma separates categories. 
product.propertiesList of categories, which are denoted as properties. This is set only through activated functionality ''Enaa category''
property.valueCategory name
property.titleIf there is a superior category, otherwise category name
product.stockStock status displayed with ''0'' or ''1''
product.stockTextStock status displayed with "In stock" or "Out of stock''
product.stockTextYesNoStock status displayed with "yes" or "no"
product.stockAmountStock quantity
product.nonNegativeStockAmountStock quantity. If the stock is lower than 0, the value is set to 0.
product.reservationAmountStock quantity
product.stockWithReservationAmountStock quantity including reservations
product.stockWithReservationAmount_fSIStock quantity including reservations. The decimal separator is a comma.
product.stockWithReservationAmountTextYesNoStock status including reservations displayed with "yes" or "no"
product.lengthLength
product.length_fSILength. The decimal separator is a comma.
product.widthWidth
product.width_fSIWidth. The decimal separator is a comma.
product.heightHeight
product.height_fSIHeight. The decimal separator is a comma.
product.weightGross weight
product.weight_fSIGross weight. The decimal separator is a comma. 
product.weight_netWeight
product.weight_net_fSIWeight. The decimal separator is a comma.


Certain parameters have a value recorded for the ''Extra column ID'' column. This means that such a column is an additional one since it does not exist by default in MK. It should be added by using the ID and name from the ''Meaning'' column.


Requests overview

Previous requests can be visible in Additional settings -> Export configuration -> "Select export" -> Requests. Errors occur if requested parameters are set in the configuration but such are not completely fulfilled by at least one product. In the ''Error'' column, the following message will be displayed ''Error - missing data'', since the product was not added to the printout. The parameters missing can be found by pressing the ''M'' button, or in case of having a lot of errors, click on the row and then double-click on the ''Download'' button.  The same procedure applies to optional parameters, the only difference is that the type of error is - ''Warning - missing data'', while the product will still be included in the printout.


Errors which are the consequence of the requested parameters missing will also be sent to the e-mail address (limit is 5 e-mails per day) if one is entered in the configuration.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article