
{"id":7332,"date":"2017-11-27T12:26:06","date_gmt":"2017-11-27T11:26:06","guid":{"rendered":"https:\/\/www.minicrm.hu\/help\/?p=7332"},"modified":"2017-11-27T12:26:06","modified_gmt":"2017-11-27T11:26:06","slug":"custom-webshop-integration","status":"publish","type":"post","link":"https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/","title":{"rendered":"Custom webshop integration"},"content":{"rendered":"<div class=\"alert alert-danger\">1 <a href=\"..\/webshop-module\/\">Webshop<\/a> term\u00e9ke can be used in a MiniCRM system.<\/div>\n<p>To display data from your custom-developed webshop in your MiniCRM system, you need an XML file that has a specific format and is generated from the webshop&#8217;s database. You can create the file according to the <a href=\"https:\/\/minicrm-wp-hu.s3.amazonaws.com\/uploads\/2016\/02\/webshop_example.xml_.zip\">Sample<\/a>.<\/p>\n<p>The other system prepares a file in XML format. MiniCRM downloads and processes it in reaction to an API call. MiniCRM updates the already existing data and creates new ones if it is necessary. There is no need to resend all opportunity cards\/fields by every sync because MiniCRM can accept XML files that contain only modified data as well.<\/p>\n<p>The MiniCRM XML reader is project-based. One &#8216;Project&#8217; contains one order and data that belongs to it. In case of more than one order, they have to appear below each other.<\/p>\n<p>Basic card information has to be entered directly below the Project node (the bold lines are required, the other ones are optional):<br \/>\n<strong>\u2018Project Id\u2019<\/strong>\u00a0&#8211; the Id of the card. Later on, a person&#8217;s card can be updated based on this Id.<br \/>\n<strong>\u2018Name\u2019<\/strong>\u00a0&#8211; the card&#8217;s name (it is practical if the card&#8217;s name equals to the customer&#8217;s name)<br \/>\n<strong>\u2018CategoryId\u2019<\/strong>\u00a0&#8211; the Id of the term\u00e9ke (it is always the Id of the Webshop term\u00e9ke. You can find it in the Webshop term\u00e9ke, at the end of the URL following the \u2018#!Project-&#8216; part.<br \/>\n<strong>\u2018StatusId\u2019<\/strong>\u00a0&#8211;\u00a0the name of the status to which the card will be added (it is enough to enter the &#8216;Registered&#8217; value because the card will move between the statuses according to the status rules of the Webshop term\u00e9ke)<br \/>\n\u2018UserId\u2019 &#8211;\u00a0<em>the name of the MiniCRM user who will be the owner of the given card<\/em><br \/>\n\u2018Webshop<em>RegistrationDate\u2019 &#8211; the date when the customer has registered for the webshop<br \/>\n\u2018Webshop<\/em>Disabled\u2019 &#8211; <em>its value can be 0\/1, if it is 1, the customer is Disabled\/Deleted<\/em><br \/>\n\u2018Webshop<em>LostBasketContent\u2019 &#8211;\u00a0the content of the last abandoned cart<br \/>\n\u2018Webshop<\/em>LostBasketDate\u2019 &#8211;\u00a0<em>the<\/em>\u00a0<em>date of the last abandoned cart<\/em><br \/>\n\u2018Webshop<em>LostBasketValue\u2019 &#8211; the value of the last abandoned cart<br \/>\n\u2018Webshop<\/em>AllLostBasket\u2019 &#8211;\u00a0<em>the value of all abandoned carts<\/em><\/p>\n<div class=\"alert alert-danger\">If no UserId is given, the central owner of the system will be set on the Projects.<\/div>\n<p>After that comes the data of the company\/person and contact persons. It has to be placed directly below the Project node. It is possible to send companies and persons to MiniCRM and add contact persons to companies via XML. At least one company&#8217;s or person&#8217;s data has to appear in this part:<\/p>\n<p><strong>Business:<\/strong><br \/>\n<strong>\u2018Name\u2019<\/strong>\u00a0&#8211; the company&#8217;s name<br \/>\n\u2018Email\u2019 &#8211; the company&#8217;s email address<\/p>\n<p>Contact:<br \/>\n\u2018FirstName\u2019 &#8211; the first name of the person\/company&#8217;s contact person<br \/>\n\u2018LastName\u2019 &#8211; the last name of\u00a0the person\/company&#8217;s contact person<br \/>\n\u2018Email\u2019 &#8211; the email address of the person\/company&#8217;s contact person<\/p>\n<div class=\"alert alert-danger\">If there is no company, strictly one person can be added.<\/div>\n<p>After that, you have to add information regarding the order. These data will be added to the <a href=\"..\/orders-module\/\">Order term\u00e9ke<\/a> already (irrespective of the fact whether you have given the <a href=\"..\/webshop-module\/\">Webshop term\u00e9ke<\/a>&#8216;s Id as\u00a0\u2018CategoryId\u2019 in the beginning of the XML or not).<\/p>\n<p><strong>\u2018Order Id\u2019<\/strong>\u00a0&#8211; the order&#8217;s Id<br \/>\n<strong>\u2018Number\u2019<\/strong>\u00a0&#8211; the name of the card in the Order term\u00e9ke<br \/>\n<strong>\u2018CurrencyCode\u2019<\/strong>\u00a0&#8211; the currency code of the order<br \/>\n<strong>\u2018Performance\u2019<\/strong>\u00a0&#8211; the performance date<br \/>\n\u2018Subject\u2019 &#8211; a note regarding the order<br \/>\n<strong>\u2018Status\u2019<\/strong>\u00a0&#8211; the order&#8217;s status<\/p>\n<p>It is followed by the customer&#8217;s data:<\/p>\n<p><strong>\u2018Name\u2019<\/strong>\u00a0&#8211; the customer&#8217;s name<br \/>\n<strong>\u2018CountryId\u2019<\/strong>\u00a0&#8211; the customer&#8217;s country<br \/>\n<strong>\u2018PostalCode\u2019<\/strong>\u00a0&#8211; the customer&#8217;s postal code<br \/>\n<strong>\u2018City\u2019<\/strong>\u00a0&#8211; the customer&#8217;s city<br \/>\n<strong>\u2018Address\u2019<\/strong>\u00a0&#8211; the customer&#8217;s address<\/p>\n<p>Finally comes the data of the ordered product(s)<\/p>\n<p><strong>\u2018Product Id\u2019<\/strong>\u00a0&#8211; the product&#8217;s Id<br \/>\n<strong>\u2018Name\u2019<\/strong>\u00a0&#8211; the product&#8217;s name<br \/>\n\u2018SKU\u2019 &#8211; the product&#8217;s SKU code<br \/>\n\u2018EAN\u2019 -the product&#8217;s EAN code<br \/>\n<strong>\u2018PriceNet\u2019<\/strong>\u00a0&#8211; the product&#8217;s net price<br \/>\n<strong>\u2018Quantity\u2019<\/strong>\u00a0&#8211; the quantity of the product<br \/>\n<strong>\u2018Unit\u2019<\/strong>\u00a0&#8211; the unit of the product<br \/>\n<strong>\u2018VAT\u2019<\/strong>\u00a0&#8211; the extent of the VAT<br \/>\n<strong>\u2018FolderName\u2019<\/strong>\u00a0&#8211; the name of the folder in MiniCRM to which the products have to be added<\/p>\n<p>If you have added every required data regarding an order, the &#8216;Project&#8217; can be closed and you can continue to work on the next one. By using\u00a0<a href=\"..\/submitting-xml\/\">XML sync<\/a>, you can even update millions of cards.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1 Webshop term\u00e9ke can be used in a MiniCRM system. To display data from your custom-developed webshop in your MiniCRM system, you need an XML file that has a specific format and is generated from the webshop&#8217;s database. You can create the file according to the Sample. The other system prepares a file in XML [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[383],"tags":[422,480],"class_list":["post-7332","post","type-post","status-publish","format-standard","hentry","category-more-import-export-and-form","tag-api-en","tag-webshop-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Custom webshop integration - Documenta\u021bie MiniCRM<\/title>\n<meta name=\"description\" content=\"1 Webshop term\u00e9ke can be used in a MiniCRM system. To display data from your custom-developed webshop in your MiniCRM system, you need an XML file that\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom webshop integration - Documenta\u021bie MiniCRM\" \/>\n<meta property=\"og:description\" content=\"1 Webshop term\u00e9ke can be used in a MiniCRM system. To display data from your custom-developed webshop in your MiniCRM system, you need an XML file that\" \/>\n<meta property=\"og:url\" content=\"https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/\" \/>\n<meta property=\"og:site_name\" content=\"Documenta\u021bie MiniCRM\" \/>\n<meta property=\"article:published_time\" content=\"2017-11-27T11:26:06+00:00\" \/>\n<meta name=\"author\" content=\"L\u00edvia F\u00fcl\u00f6p\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"L\u00edvia F\u00fcl\u00f6p\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/helpdev.minicrm.io\\\/help\\\/custom-webshop-integration\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/helpdev.minicrm.io\\\/help\\\/custom-webshop-integration\\\/\"},\"author\":{\"name\":\"L\u00edvia F\u00fcl\u00f6p\",\"@id\":\"https:\\\/\\\/www.minicrm.hu\\\/help\\\/#\\\/schema\\\/person\\\/ceb677e9c50c3b41ea1539b92acfae96\"},\"headline\":\"Custom webshop integration\",\"datePublished\":\"2017-11-27T11:26:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/helpdev.minicrm.io\\\/help\\\/custom-webshop-integration\\\/\"},\"wordCount\":739,\"commentCount\":0,\"keywords\":[\"api-en\",\"webshop-en\"],\"articleSection\":[\"More Import Export and Form\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/helpdev.minicrm.io\\\/help\\\/custom-webshop-integration\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/helpdev.minicrm.io\\\/help\\\/custom-webshop-integration\\\/\",\"url\":\"https:\\\/\\\/helpdev.minicrm.io\\\/help\\\/custom-webshop-integration\\\/\",\"name\":\"Custom webshop integration - Documenta\u021bie MiniCRM\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.minicrm.hu\\\/help\\\/#website\"},\"datePublished\":\"2017-11-27T11:26:06+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.minicrm.hu\\\/help\\\/#\\\/schema\\\/person\\\/ceb677e9c50c3b41ea1539b92acfae96\"},\"description\":\"1 Webshop term\u00e9ke can be used in a MiniCRM system. To display data from your custom-developed webshop in your MiniCRM system, you need an XML file that\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/helpdev.minicrm.io\\\/help\\\/custom-webshop-integration\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/helpdev.minicrm.io\\\/help\\\/custom-webshop-integration\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/helpdev.minicrm.io\\\/help\\\/custom-webshop-integration\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.minicrm.hu\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom webshop integration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.minicrm.hu\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.minicrm.hu\\\/help\\\/\",\"name\":\"Documenta\u021bie MiniCRM\",\"description\":\"Welcome to MiniCRM\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.minicrm.hu\\\/help\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.minicrm.hu\\\/help\\\/#\\\/schema\\\/person\\\/ceb677e9c50c3b41ea1539b92acfae96\",\"name\":\"L\u00edvia F\u00fcl\u00f6p\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f3134b1be47aa2326a775dd7090fd53fb8a694a561ad9cc5ec8f1e66ff8bacc4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f3134b1be47aa2326a775dd7090fd53fb8a694a561ad9cc5ec8f1e66ff8bacc4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f3134b1be47aa2326a775dd7090fd53fb8a694a561ad9cc5ec8f1e66ff8bacc4?s=96&d=mm&r=g\",\"caption\":\"L\u00edvia F\u00fcl\u00f6p\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Custom webshop integration - Documenta\u021bie MiniCRM","description":"1 Webshop term\u00e9ke can be used in a MiniCRM system. To display data from your custom-developed webshop in your MiniCRM system, you need an XML file that","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/","og_locale":"en_US","og_type":"article","og_title":"Custom webshop integration - Documenta\u021bie MiniCRM","og_description":"1 Webshop term\u00e9ke can be used in a MiniCRM system. To display data from your custom-developed webshop in your MiniCRM system, you need an XML file that","og_url":"https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/","og_site_name":"Documenta\u021bie MiniCRM","article_published_time":"2017-11-27T11:26:06+00:00","author":"L\u00edvia F\u00fcl\u00f6p","twitter_card":"summary_large_image","twitter_misc":{"Written by":"L\u00edvia F\u00fcl\u00f6p","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/#article","isPartOf":{"@id":"https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/"},"author":{"name":"L\u00edvia F\u00fcl\u00f6p","@id":"https:\/\/www.minicrm.hu\/help\/#\/schema\/person\/ceb677e9c50c3b41ea1539b92acfae96"},"headline":"Custom webshop integration","datePublished":"2017-11-27T11:26:06+00:00","mainEntityOfPage":{"@id":"https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/"},"wordCount":739,"commentCount":0,"keywords":["api-en","webshop-en"],"articleSection":["More Import Export and Form"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/","url":"https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/","name":"Custom webshop integration - Documenta\u021bie MiniCRM","isPartOf":{"@id":"https:\/\/www.minicrm.hu\/help\/#website"},"datePublished":"2017-11-27T11:26:06+00:00","author":{"@id":"https:\/\/www.minicrm.hu\/help\/#\/schema\/person\/ceb677e9c50c3b41ea1539b92acfae96"},"description":"1 Webshop term\u00e9ke can be used in a MiniCRM system. To display data from your custom-developed webshop in your MiniCRM system, you need an XML file that","breadcrumb":{"@id":"https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/helpdev.minicrm.io\/help\/custom-webshop-integration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.minicrm.hu\/help\/"},{"@type":"ListItem","position":2,"name":"Custom webshop integration"}]},{"@type":"WebSite","@id":"https:\/\/www.minicrm.hu\/help\/#website","url":"https:\/\/www.minicrm.hu\/help\/","name":"Documenta\u021bie MiniCRM","description":"Welcome to MiniCRM","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.minicrm.hu\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.minicrm.hu\/help\/#\/schema\/person\/ceb677e9c50c3b41ea1539b92acfae96","name":"L\u00edvia F\u00fcl\u00f6p","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f3134b1be47aa2326a775dd7090fd53fb8a694a561ad9cc5ec8f1e66ff8bacc4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f3134b1be47aa2326a775dd7090fd53fb8a694a561ad9cc5ec8f1e66ff8bacc4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f3134b1be47aa2326a775dd7090fd53fb8a694a561ad9cc5ec8f1e66ff8bacc4?s=96&d=mm&r=g","caption":"L\u00edvia F\u00fcl\u00f6p"}}]}},"_links":{"self":[{"href":"https:\/\/www.minicrm.hu\/help\/wp-json\/wp\/v2\/posts\/7332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.minicrm.hu\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.minicrm.hu\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.minicrm.hu\/help\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.minicrm.hu\/help\/wp-json\/wp\/v2\/comments?post=7332"}],"version-history":[{"count":2,"href":"https:\/\/www.minicrm.hu\/help\/wp-json\/wp\/v2\/posts\/7332\/revisions"}],"predecessor-version":[{"id":7344,"href":"https:\/\/www.minicrm.hu\/help\/wp-json\/wp\/v2\/posts\/7332\/revisions\/7344"}],"wp:attachment":[{"href":"https:\/\/www.minicrm.hu\/help\/wp-json\/wp\/v2\/media?parent=7332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.minicrm.hu\/help\/wp-json\/wp\/v2\/categories?post=7332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.minicrm.hu\/help\/wp-json\/wp\/v2\/tags?post=7332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}