{"id":17828,"date":"2019-02-13T14:33:32","date_gmt":"2019-02-13T14:33:32","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=17828"},"modified":"2019-02-13T15:06:42","modified_gmt":"2019-02-13T15:06:42","slug":"4-40-batch-product-creation-with-yaml","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/4-40-batch-product-creation-with-yaml\/","title":{"rendered":"4.40. Batch Product Creation with YAML"},"content":{"rendered":"<p>In this document, it will be explained how to batch create products with YAML.<\/p>\n<p>SambaPOS\u00a0V5\u2019s Batch Product Creation feature allows importing products from formatted text data. That format is called YAML. It is human readable and easily editable with your favorite text editor.<\/p>\n<p><span style=\"font-size: 14pt; color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/YAML-Sample-Test-Items.txt\">Click here for sample data format;<\/a><\/span><\/p>\n<p>Go to <strong>Main Menu &gt; Manage &gt; Products &gt; Product List &gt;<\/strong> here, click on <strong>Batch Create Products.\u00a0<\/strong>Copy above code group and paste it into <strong>Batch Create Products Window\u00a0<\/strong>and then click on<strong> Ok<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17835 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-01-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-01-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-01-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-01-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-01.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Once you clicked on Ok button, your Test Items will be shown as below image;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17839 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-02-1-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-02-1-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-02-1-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-02-1-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-02-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Product details will be like in this image;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17841 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-03-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-03-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-03-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-03-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/02\/Yaml-03.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this document, it will be explained how to batch create products with YAML. SambaPOS\u00a0V5\u2019s Batch Product Creation feature allows importing products from formatted text data. That format is called YAML. It is human readable and easily editable with your favorite text editor. Click here for sample data format; Go to Main Menu &gt; Manage [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-17828","post","type-post","status-publish","format-standard","hentry","category-customization"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/17828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/comments?post=17828"}],"version-history":[{"count":11,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/17828\/revisions"}],"predecessor-version":[{"id":17850,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/17828\/revisions\/17850"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=17828"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=17828"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=17828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}