The Order Import is intended for entering new sales orders. This action has been moved from Additional Settings to Order Management.


At the bottom, you have an example file.

1. Getting Started:
In Order Management 2, go to Imports → Sales Orders.





2. Template

To import orders, a template is required to specify how the orders will be imported.

The template must contain three key parts:

  • File Name (title)

  • Default Settings (settings)

  • Column Mapping of Content (column mapping)





The values for creating the JSON template are provided in the tables below.

An example JSON template with a test input file is also included.



3. File Import:


You need to select:

  1. The template to be used

  2. The status in which the orders will be created

  3. The delivery service to be assigned to the orders

  4. The file to be imported





4. Import Results

4.1 The import results will be displayed on the right. The status indicates whether the import was successful or not, and any errors will show what went wrong.



4.2 Import History

The import history is available under Previous Imports → this will open Additional Settings, where you can review past imports.






Values for Creating a Template


Configuration for Order Import:


TypeMeaningNote
titleTemplate titleRequired field
settingsImport settingsRequired field
columnColumn mappingRequired field
doc_dateOrder import dateThe value is automatically set to the date and time of the import


Values for the settings Object:


TypeMeaningNote
product_positionMethod of reading the input fileRequired field. Values: per_row
store_eshop_sync_idStore ID
default_taxTaxIf not provided, the company default is used
check_customer_order_not_existCheck if orders already exist before importValues: true / false
method_of_paymentPayment method for ordersExample: Bank Account
mark_as_full_paidOrder payment statusValues: yes / no
method_of_payment_mapPayment method mappingExample: [{"PAY_PAL": "PayPal"}]PAY_PAL is the value in the file, PayPal is the code in MetaKocka
payment_mapPayment type mappingExample: [{"PAY_PAL": "PayPal"}]PAY_PAL is the value in the file, PayPal is the code in MetaKocka
default_statusStatus automatically selected when clicking the template
default_delivery_typeDelivery type automatically selected for EU ordersIf you have both EU and non-EU delivery types, enter the type for EU here
default_delivery_type_nonEUDelivery type automatically selected for non-EU ordersIf you have a separate delivery type for non-EU
create_billCreate invoice for imported orderValues: true / false
header_notesOrder note – header
footer_notesOrder note – footer
empty_customer_orderImport orders without a customer order – auto numberingValues: true / false. If true, it is not possible to check if orders already exist



Values for the column Object:


TypeMeaningNote
titleColumn header in the input fileRequired field
typeColumn typeRequired field
date_formatDate format
replace_beforeKeys/strings to replace before using the value
delete_after_token_includeCharacter/string after which the value is removed, including it
whole_order_valueColumn header in the input file containing the total order amount


Values for the type Field in the column Object:


TypeMeaningNote
customer_orderCustomer orderRequired field
buyer_nameBuyer first nameRequired field
buyer_surnameBuyer last nameWill be combined with first name, separated by a space
buyer_streetBuyer street addressRequired field
buyer_street_2Buyer additional addressCombined with buyer_street, separated by a space
buyer_placeBuyer cityRequired field
buyer_post_numberBuyer postal codeRequired field
buyer_provinceBuyer province
buyer_countryBuyer countryRequired field
buyer_emailBuyer emailRequired field
buyer_mobileBuyer mobile numberRequired field
receiver_nameRecipient first name
receiver_surnameRecipient last nameWill be combined with first name, separated by a space
receiver_streetRecipient street address
receiver_street_2Recipient additional addressCombined with receiver_street, separated by a space
receiver_placeRecipient city
receiver_post_numberRecipient postal code
receiver_provinceRecipient province
receiver_countryRecipient country
receiver_emailRecipient email
receiver_mobileRecipient mobile number
count_codeOrder number
payment_typePayment method
order_sumTotal order amount
payment_sumPayment amount
payment_datePayment date
product_amountProduct quantity
product_skuProduct SKU
product_priceProduct price
currencyCurrencyIf not set, company default is used. Symbols: €, $, Three-letter code: EUR, HUF, etc.
whole_product_sumTotal product amount (quantity > 1)
notes_headerOrder note – header
notesOrder note – footer


In the file "Example Order Import Template", you only need to add the status and the store ID, as these are specific to your company.