{"id":12466,"date":"2024-12-04T06:15:00","date_gmt":"2024-12-04T06:15:00","guid":{"rendered":"https:\/\/www.getmesa.com/blog\/?p=12466"},"modified":"2025-12-22T23:21:16","modified_gmt":"2025-12-22T23:21:16","slug":"import-inventory-by-barcode-using-ftp","status":"publish","type":"post","link":"https:\/\/www.getmesa.com/blog\/import-inventory-by-barcode-using-ftp\/","title":{"rendered":"How to Import Product Inventory by Barcode Using FTP"},"content":{"rendered":"\n<p>Managing inventory effectively is one of the biggest challenges for Shopify store owners, especially as your product catalog grows. Errors in stock levels can lead to overselling, dissatisfied customers, and lost revenue. That\u2019s why many Shopify merchants leverage <a href=\"https:\/\/www.getmesa.com\/blog\/how-to-set-up-shopify-ftp\/\">File Transfer Protocol (FTP)<\/a> to import inventory, which allow for bulk updates and more accurate inventory management.<\/p>\n\n\n\n<p>Barcodes are a reliable way to identify products, reducing the errors often associated with manual entry or SKU-based systems. Meanwhile, FTP streamlines the process by automating bulk inventory updates, keeping your Shopify store accurate and up-to-date without needing constant manual intervention.<\/p>\n\n\n\n<p>This guide will show you how to customize MESA\u2019s FTP inventory update template to use barcodes as your primary product identifier. This switch will save time, reduce errors, and increase your store&#8217;s efficiency and scalability as it grows.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-dots\"\/>\n\n\n\n<p><br><strong>TL;DR: Skip the step-by-step tutorial.\u00a0<\/strong>Use this template to update inventory by barcode from a CSV file on your FTP server with just a few clicks.<\/p>\n\n\n<div class=\"mesa-template-backend frontend-hidden\">\n    <p><strong>MESA Template ID<\/strong><\/p>\n    <p>shopify-inventory-updates-from-csv-on-ftp-server<\/p>\n<\/div>\n\n<div class=\"mesa-template\" data-template=\"shopify-inventory-updates-from-csv-on-ftp-server\"><\/div>\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\t\t<style>.mesa-template-backend {\n    background: rgba(139, 139, 150, 0.1);\n    padding: 22px;\n}\n\n.mesa-template-backend h5,\n.mesa-template-backend p {\n    margin: 0 0 5px;\n}\n\n.mesa-template-backend p {\n    font-size: 16px;\n}\n\n.mesa-template-backend p:last-child {\n    display: inline-block;\n    background: #fff;\n    padding: 5px 10px;\n}\n\n.mesa-template-backend p strong {\n    font-size: 12px;\n}<\/style>\n\t\t\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">In this article:<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.getmesa.com/blog\/import-inventory-by-barcode-using-ftp\/#Step-by-step-guide-to-use-product-barcode-vs-SKU\" >Step-by-step guide to use product barcode vs. SKU&nbsp;<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.getmesa.com/blog\/import-inventory-by-barcode-using-ftp\/#Benefits-of-Using-FTP-with-Barcode-Based-Inventory-Updates\" >Benefits of Using FTP with Barcode-Based Inventory Updates<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.getmesa.com/blog\/import-inventory-by-barcode-using-ftp\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-step-by-step-guide-to-use-product-barcode-vs-sku-nbsp\"><span class=\"ez-toc-section\" id=\"Step-by-step-guide-to-use-product-barcode-vs-SKU\"><\/span>Step-by-step guide to use product barcode vs. SKU&nbsp;<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"schema-how-to wp-block-yoast-how-to-block\"><p class=\"schema-how-to-total-time\"><span class=\"schema-how-to-duration-time-text\">Time needed:&nbsp;<\/span>5 minutes<\/p><p class=\"schema-how-to-description\">First, locate the <a href=\"https:\/\/www.getmesa.com\/templates\/shopify-inventory-updates-from-csv-on-ftp-server\">\u201cShopify Inventory Updates from CSV on FTP\u201d template<\/a> in MESA\u2019s template library. The following steps will help you customize it to use barcodes instead of SKUs as the identifier.&nbsp;<\/p> <ol class=\"schema-how-to-steps\"><li class=\"schema-how-to-step\" id=\"how-to-step-1733168473709\"><strong class=\"schema-how-to-step-name\">Configure your FTP credentials<\/strong> <p class=\"schema-how-to-step-text\">You&#8217;ll need a host, port, username, and password to <a href=\"https:\/\/www.getmesa.com\/blog\/how-to-set-up-shopify-ftp\/\">connect to an FTP server<\/a>. <img loading=\"lazy\" decoding=\"async\" width=\"667\" height=\"787\" class=\"wp-image-12472\" alt=\"Login with your FTP credentials Login with your FTP credentials to start importing Shopify inventory by barcode\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-FTP-crednetials.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-FTP-crednetials.png 667w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-FTP-crednetials-254x300.png 254w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1733168639442\"><strong class=\"schema-how-to-step-name\">Expand the Custom Code step<\/strong> <p class=\"schema-how-to-step-text\">Locate the Custom Code step in your workflow, and click on \u201cEdit Code\u201d to access and modify the workflow script.\u00a0<img loading=\"lazy\" decoding=\"async\" width=\"1442\" height=\"796\" class=\"wp-image-12473\" alt=\"Click &quot;Edit Code&quot; in the Code Step\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-customer-code.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-customer-code.png 1442w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-customer-code-300x166.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-customer-code-1024x565.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-customer-code-768x424.png 768w\" sizes=\"auto, (max-width: 1442px) 100vw, 1442px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1733168728694\"><strong class=\"schema-how-to-step-name\">Modify the product identifier to switch from SKU to barcode<\/strong> <p class=\"schema-how-to-step-text\">Replace line 20 with <em>const barcode = vars.loop.Barcode<\/em> to use barcodes instead of SKUs.<img loading=\"lazy\" decoding=\"async\" width=\"1546\" height=\"792\" class=\"wp-image-12474\" alt=\"Update code line 20 to pull in Shopify inventory by barcode\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-code-line20.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line20.png 1546w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line20-300x154.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line20-1024x525.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line20-768x393.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line20-1536x787.png 1536w\" sizes=\"auto, (max-width: 1546px) 100vw, 1546px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1733168787477\"><strong class=\"schema-how-to-step-name\">Update the log message to reflect barcodes (optional)<\/strong> <p class=\"schema-how-to-step-text\">Change line 21 to <em>Mesa.log.info(&#8220;Barcode&#8221;, barcode)<\/em> if you want to maintain logging within MESA. <img loading=\"lazy\" decoding=\"async\" width=\"1534\" height=\"794\" class=\"wp-image-12475\" alt=\"Update code line 21 to pull in Shopify inventory by barcode\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-code-line21.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line21.png 1534w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line21-300x155.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line21-1024x530.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line21-768x398.png 768w\" sizes=\"auto, (max-width: 1534px) 100vw, 1534px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1733168837634\"><strong class=\"schema-how-to-step-name\">Update the query to use barcodes for identification<\/strong> <p class=\"schema-how-to-step-text\">Replace line 45 with <em>&#8220;query&#8221;: &#8220;barcode:&#8221; + barcode<\/em>, to query products using barcodes instead of SKUs. <img loading=\"lazy\" decoding=\"async\" width=\"1556\" height=\"904\" class=\"wp-image-12476\" alt=\"Update code line 45 to pull in Shopify inventory by barcode\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-code-line45.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line45.png 1556w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line45-300x174.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line45-1024x595.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line45-768x446.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-line45-1536x892.png 1536w\" sizes=\"auto, (max-width: 1556px) 100vw, 1556px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1733168880723\"><strong class=\"schema-how-to-step-name\">Save your changes<\/strong> <p class=\"schema-how-to-step-text\">Before returning to the builder, click the \u201cSave Changes\u201d button to keep your updates.<img loading=\"lazy\" decoding=\"async\" width=\"1750\" height=\"398\" class=\"wp-image-12477\" alt=\"Save changes to your code edits\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-code-save.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-save.png 1750w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-save-300x68.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-save-1024x233.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-save-768x175.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/action-code-save-1536x349.png 1536w\" sizes=\"auto, (max-width: 1750px) 100vw, 1750px\" \/><\/p> <\/li><\/ol><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-dots\"\/>\n\n\n\n<p><br><strong>Save yourself the setup. <\/strong>Use this template instead:<\/p>\n\n\n<div class=\"mesa-template-backend frontend-hidden\">\n    <p><strong>MESA Template ID<\/strong><\/p>\n    <p>shopify-inventory-updates-from-csv-on-ftp-server<\/p>\n<\/div>\n\n<div class=\"mesa-template\" data-template=\"shopify-inventory-updates-from-csv-on-ftp-server\"><\/div>\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-benefits-of-using-ftp-with-barcode-based-inventory-updates\"><span class=\"ez-toc-section\" id=\"Benefits-of-Using-FTP-with-Barcode-Based-Inventory-Updates\"><\/span>Benefits of Using FTP with Barcode-Based Inventory Updates<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>File Transfer Protocol (FTP) is a reliable method for transferring files between computers over a Transmission Control Protocol (TCP)-based network, like the internet. For Shopify store owners, FTP is a powerful tool for automating data exchanges, particularly for bulk inventory updates.<\/p>\n\n\n\n<p>Key benefits include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Automated updates: An FTP workflow eliminates the need for manual data entry by automating inventory updates, reducing errors, and saving time.<\/li>\n\n\n\n<li>Bulk processing: With FTP, large CSV files containing details for multiple products can be transferred and processed, making it ideal for stores with extensive product catalogs.<\/li>\n\n\n\n<li>Real-time synchronization: FTP workflows can run at scheduled intervals, keeping your store\u2019s stock levels accurate and enhancing the customer experience.<\/li>\n<\/ul>\n\n\n\n<p>By leveraging FTP to import files, Shopify store owners can efficiently manage their product data, enabling smoother operations and more reliable inventory management.<\/p>\n\n\n\n<aside class=\"section-single-related\" aria-labelledby=\"related-heading-7211\">\n\t<p id=\"related-heading-7211\">\n\t\tRelated article:\n\t<\/p>\n\n\t<article class=\"card-aside\">\n\t\t<a href=\"https:\/\/www.getmesa.com/blog\/how-to-connect-ftp-inventory-feed-to-update-shopify-products\/\" class=\"card-aside__link\">\n\t\t\t<figure class=\"card__image\">\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-ftp-inventory-feed-shopify-1024x576.jpg\" class=\"attachment-large size-large wp-post-image\" alt=\"tutorial ftp to shopify inventory\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-ftp-inventory-feed-shopify-1024x576.jpg 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-ftp-inventory-feed-shopify-300x169.jpg 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-ftp-inventory-feed-shopify-768x432.jpg 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-ftp-inventory-feed-shopify-553x311.jpg 553w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-ftp-inventory-feed-shopify-356x200.jpg 356w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-ftp-inventory-feed-shopify-764x430.jpg 764w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-ftp-inventory-feed-shopify-284x160.jpg 284w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-ftp-inventory-feed-shopify.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\t\t\t<\/figure><!-- \/.card__image -->\n\n\t\t\t<p class=\"card__title\">\n\t\t\t\t<strong>How To Connect FTP Inventory Feed To Update Shopify Products<\/strong>\n\t\t\t<\/p><!-- \/.card__title -->\n\n\t\t\t<span class=\"btn btn--outline card__btn card__btn--alt\" aria-hidden=\"true\">\n\t\t\t\tRead article\t\t\t<\/span>\n\t\t<\/a>\n\t<\/article>\n<\/aside>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Customizing MESA\u2019s template to update inventory using product barcodes instead of SKUs is quick and simple. Updating a few lines of code will unlock a more accurate and streamlined way to manage your Shopify store\u2019s inventory.<\/p>\n\n\n\n<p>MESA offers a variety of templates to enhance your Shopify operations beyond inventory management, including tools for marketing automation, fulfillment, product updates, reporting, and more. <a href=\"https:\/\/www.getmesa.com\/templates\">Explore the MESA template library<\/a> to discover ways to optimize your workflows and save time on manual tasks.<\/p>\n\n\n\n<div class=\"card-next-steps\">\n\t<div class=\"card__content\">\n\t\t<h4>What to do next&#8230;<\/h4>\n<p>The fastest way to see automation working in your store is to start with a single workflow.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.getmesa.com\/pricing\"><strong>Try MESA free<\/strong><\/a> \u2014 start a 7-day free trial and get your first workflow running.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/templates\"><strong>Browse the template library<\/strong><\/a> \u2014 pre-built workflows for the most common Shopify automation tasks.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/yedric\"><strong>Talk to Yedric<\/strong><\/a> \u2014 describe what you want to automate, and let our AI assistant build it for you.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/support\"><strong>Get free workflow setup<\/strong><\/a> \u2014 MESA&#8217;s team will build your first workflow at no cost.<\/li>\n<\/ol>\n\t<\/div><!-- \/.card__content -->\n\n\t\n<div class=\"socials card__socials\">\n\t<ul>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/twitter.com\/getmesa\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/twitter-icon.svg\" class=\"attachment-small size-small\" alt=\"icon: twitter\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/www.youtube.com\/@getmesa\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/youtube-icon.svg\" class=\"attachment-small size-small\" alt=\"icon: youtube\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/www.linkedin.com\/company\/9754608\/\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/linkedin-icon.svg\" class=\"attachment-small size-small\" alt=\"linkedin icon\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t<\/ul>\n<\/div><!-- \/.socials -->\n<\/div><!-- \/.card-next-steps -->\n","protected":false},"excerpt":{"rendered":"<p>Managing inventory effectively is one of the biggest challenges for Shopify store owners, especially as your product catalog grows. Errors&#8230;<\/p>\n","protected":false},"author":1,"featured_media":12479,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[48],"tags":[245],"class_list":["post-12466","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-workflow-tutorials","tag-ftp"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.8 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Quickly Import Shopify Inventory by Barcode with FTP - MESA<\/title>\n<meta name=\"description\" content=\"Streamline your Shopify inventory management by barcode when importing with FTP. Discover how for more accurate stock tracking.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Import Product Inventory by Barcode Using FTP\" \/>\n<meta property=\"og:description\" content=\"Managing inventory effectively is one of the biggest challenges for Shopify store owners, especially as your product catalog grows. Errors in stock levels\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/\" \/>\n<meta property=\"og:site_name\" content=\"MESA\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/mesabyshoppad\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-04T06:15:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-22T23:21:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/tutorial-ftp-shopify.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ryan ODonnell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@getmesa\" \/>\n<meta name=\"twitter:site\" content=\"@getmesa\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ryan ODonnell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/\"},\"author\":{\"name\":\"Ryan ODonnell\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/person\\\/5ed8ee9c6f19090c4d5acb4f45efacb4\"},\"headline\":\"How to Import Product Inventory by Barcode Using FTP\",\"datePublished\":\"2024-12-04T06:15:00+00:00\",\"dateModified\":\"2025-12-22T23:21:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/\"},\"wordCount\":584,\"publisher\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/tutorial-ftp-shopify.png\",\"keywords\":[\"ftp\"],\"articleSection\":[\"Workflow Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/\",\"name\":\"Quickly Import Shopify Inventory by Barcode with FTP - MESA\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/tutorial-ftp-shopify.png\",\"datePublished\":\"2024-12-04T06:15:00+00:00\",\"dateModified\":\"2025-12-22T23:21:16+00:00\",\"description\":\"Streamline your Shopify inventory management by barcode when importing with FTP. Discover how for more accurate stock tracking.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/tutorial-ftp-shopify.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/tutorial-ftp-shopify.png\",\"width\":1200,\"height\":675},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Import Product Inventory by Barcode Using FTP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\",\"name\":\"MESA\",\"description\":\"Discover how to automate your Shopify growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\",\"name\":\"MESA - AI automation Platform\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/mesa-shoppad.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/mesa-shoppad.jpeg\",\"width\":225,\"height\":225,\"caption\":\"MESA - AI automation Platform\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/web.facebook.com\\\/mesabyshoppad\\\/\",\"https:\\\/\\\/x.com\\\/getmesa\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/shoppad\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCqsf_WhcGEsZMvms1idivyw\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/person\\\/5ed8ee9c6f19090c4d5acb4f45efacb4\",\"name\":\"Ryan ODonnell\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"caption\":\"Ryan ODonnell\"},\"sameAs\":[\"https:\\\/\\\/www.getmesa.com\"],\"jobTitle\":\"Director of Marketing\",\"worksFor\":\"MESA\"},{\"@type\":\"HowTo\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#howto-1\",\"name\":\"How to Import Product Inventory by Barcode Using FTP\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#article\"},\"description\":\"First, locate the &lt;a href=\\\"https:\\\/\\\/www.getmesa.com\\\/templates\\\/shopify-inventory-updates-from-csv-on-ftp-server\\\">\u201cShopify Inventory Updates from CSV on FTP\u201d template&lt;\\\/a> in MESA\u2019s template library. The following steps will help you customize it to use barcodes instead of SKUs as the identifier.\u00a0\",\"totalTime\":\"P0DT0H5M\",\"step\":[{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#how-to-step-1733168473709\",\"name\":\"Configure your FTP credentials\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"You'll need a host, port, username, and password to connect to an FTP server.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#schema-image-116c1ade78a43571d6338ccfc5bd3f19\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/action-FTP-crednetials.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/action-FTP-crednetials.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#how-to-step-1733168639442\",\"name\":\"Expand the Custom Code step\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Locate the Custom Code step in your workflow, and click on \u201cEdit Code\u201d to access and modify the workflow script.\u00a0\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#schema-image-179f6ff42796c11a5b2015880883d5e0\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/action-customer-code.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/action-customer-code.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#how-to-step-1733168728694\",\"name\":\"Modify the product identifier to switch from SKU to barcode\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Replace line 20 with const barcode = vars.loop.Barcode to use barcodes instead of SKUs.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#schema-image-cc6302808bd24def1574baeeed3c5292\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/action-code-line20.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/action-code-line20.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#how-to-step-1733168787477\",\"name\":\"Update the log message to reflect barcodes (optional)\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Change line 21 to Mesa.log.info(\\\"Barcode\\\", barcode) if you want to maintain logging within MESA.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#schema-image-4190ad24346a96b851569be5c70147ce\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/action-code-line21.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/action-code-line21.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#how-to-step-1733168837634\",\"name\":\"Update the query to use barcodes for identification\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Replace line 45 with \\\"query\\\": \\\"barcode:\\\" + barcode, to query products using barcodes instead of SKUs.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#schema-image-5709cf3b7505d21f3f8cef7b687b2bcb\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/action-code-line45.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/action-code-line45.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#how-to-step-1733168880723\",\"name\":\"Save your changes\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Before returning to the builder, click the \u201cSave Changes\u201d button to keep your updates.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/import-inventory-by-barcode-using-ftp\\\/#schema-image-71f65d959a80e20facd51835189bf877\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/action-code-save.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/action-code-save.png\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Quickly Import Shopify Inventory by Barcode with FTP - MESA","description":"Streamline your Shopify inventory management by barcode when importing with FTP. Discover how for more accurate stock tracking.","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:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/","og_locale":"en_US","og_type":"article","og_title":"How to Import Product Inventory by Barcode Using FTP","og_description":"Managing inventory effectively is one of the biggest challenges for Shopify store owners, especially as your product catalog grows. Errors in stock levels","og_url":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/","og_site_name":"MESA","article_publisher":"https:\/\/web.facebook.com\/mesabyshoppad\/","article_published_time":"2024-12-04T06:15:00+00:00","article_modified_time":"2025-12-22T23:21:16+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/tutorial-ftp-shopify.png","type":"image\/png"}],"author":"Ryan ODonnell","twitter_card":"summary_large_image","twitter_creator":"@getmesa","twitter_site":"@getmesa","twitter_misc":{"Written by":"Ryan ODonnell","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#article","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/"},"author":{"name":"Ryan ODonnell","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/person\/5ed8ee9c6f19090c4d5acb4f45efacb4"},"headline":"How to Import Product Inventory by Barcode Using FTP","datePublished":"2024-12-04T06:15:00+00:00","dateModified":"2025-12-22T23:21:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/"},"wordCount":584,"publisher":{"@id":"https:\/\/www.getmesa.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-ftp-shopify.png","keywords":["ftp"],"articleSection":["Workflow Tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/","url":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/","name":"Quickly Import Shopify Inventory by Barcode with FTP - MESA","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#primaryimage"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-ftp-shopify.png","datePublished":"2024-12-04T06:15:00+00:00","dateModified":"2025-12-22T23:21:16+00:00","description":"Streamline your Shopify inventory management by barcode when importing with FTP. Discover how for more accurate stock tracking.","breadcrumb":{"@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#primaryimage","url":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-ftp-shopify.png","contentUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-ftp-shopify.png","width":1200,"height":675},{"@type":"BreadcrumbList","@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.getmesa.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Import Product Inventory by Barcode Using FTP"}]},{"@type":"WebSite","@id":"https:\/\/www.getmesa.com\/blog\/#website","url":"https:\/\/www.getmesa.com\/blog\/","name":"MESA","description":"Discover how to automate your Shopify growth","publisher":{"@id":"https:\/\/www.getmesa.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.getmesa.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.getmesa.com\/blog\/#organization","name":"MESA - AI automation Platform","url":"https:\/\/www.getmesa.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/mesa-shoppad.jpeg","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/mesa-shoppad.jpeg","width":225,"height":225,"caption":"MESA - AI automation Platform"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/web.facebook.com\/mesabyshoppad\/","https:\/\/x.com\/getmesa","https:\/\/www.linkedin.com\/company\/shoppad\/","https:\/\/www.youtube.com\/channel\/UCqsf_WhcGEsZMvms1idivyw"]},{"@type":"Person","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/person\/5ed8ee9c6f19090c4d5acb4f45efacb4","name":"Ryan ODonnell","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","caption":"Ryan ODonnell"},"sameAs":["https:\/\/www.getmesa.com"],"jobTitle":"Director of Marketing","worksFor":"MESA"},{"@type":"HowTo","@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#howto-1","name":"How to Import Product Inventory by Barcode Using FTP","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#article"},"description":"First, locate the &lt;a href=\"https:\/\/www.getmesa.com\/templates\/shopify-inventory-updates-from-csv-on-ftp-server\">\u201cShopify Inventory Updates from CSV on FTP\u201d template&lt;\/a> in MESA\u2019s template library. The following steps will help you customize it to use barcodes instead of SKUs as the identifier.\u00a0","totalTime":"P0DT0H5M","step":[{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#how-to-step-1733168473709","name":"Configure your FTP credentials","itemListElement":[{"@type":"HowToDirection","text":"You'll need a host, port, username, and password to connect to an FTP server."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#schema-image-116c1ade78a43571d6338ccfc5bd3f19","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-FTP-crednetials.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-FTP-crednetials.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#how-to-step-1733168639442","name":"Expand the Custom Code step","itemListElement":[{"@type":"HowToDirection","text":"Locate the Custom Code step in your workflow, and click on \u201cEdit Code\u201d to access and modify the workflow script.\u00a0"}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#schema-image-179f6ff42796c11a5b2015880883d5e0","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-customer-code.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-customer-code.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#how-to-step-1733168728694","name":"Modify the product identifier to switch from SKU to barcode","itemListElement":[{"@type":"HowToDirection","text":"Replace line 20 with const barcode = vars.loop.Barcode to use barcodes instead of SKUs."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#schema-image-cc6302808bd24def1574baeeed3c5292","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-code-line20.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-code-line20.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#how-to-step-1733168787477","name":"Update the log message to reflect barcodes (optional)","itemListElement":[{"@type":"HowToDirection","text":"Change line 21 to Mesa.log.info(\"Barcode\", barcode) if you want to maintain logging within MESA."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#schema-image-4190ad24346a96b851569be5c70147ce","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-code-line21.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-code-line21.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#how-to-step-1733168837634","name":"Update the query to use barcodes for identification","itemListElement":[{"@type":"HowToDirection","text":"Replace line 45 with \"query\": \"barcode:\" + barcode, to query products using barcodes instead of SKUs."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#schema-image-5709cf3b7505d21f3f8cef7b687b2bcb","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-code-line45.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-code-line45.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#how-to-step-1733168880723","name":"Save your changes","itemListElement":[{"@type":"HowToDirection","text":"Before returning to the builder, click the \u201cSave Changes\u201d button to keep your updates."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/import-inventory-by-barcode-using-ftp\/#schema-image-71f65d959a80e20facd51835189bf877","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-code-save.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/action-code-save.png"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/12466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/comments?post=12466"}],"version-history":[{"count":11,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/12466\/revisions"}],"predecessor-version":[{"id":17340,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/12466\/revisions\/17340"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media\/12479"}],"wp:attachment":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media?parent=12466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/categories?post=12466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/tags?post=12466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}