{"id":12763,"date":"2025-02-11T08:00:00","date_gmt":"2025-02-11T08:00:00","guid":{"rendered":"https:\/\/www.getmesa.com/blog\/?p=12763"},"modified":"2025-12-22T23:11:14","modified_gmt":"2025-12-22T23:11:14","slug":"hide-shipstation-packing-slip-item-options-underscores","status":"publish","type":"post","link":"https:\/\/www.getmesa.com/blog\/hide-shipstation-packing-slip-item-options-underscores\/","title":{"rendered":"How to Hide ShipStation Packing Slip Item Options Starting with Underscores"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.getmesa.com\/apps\/shipstation\/integrate\" target=\"_blank\" rel=\"noreferrer noopener\">ShipStation<\/a> is popular shipping software that makes order processing and fulfillment easy for online businesses. One feature is the ability to customize packing slips so merchants can present important information to customers cleanly and professionally.<\/p>\n\n\n\n<p>However, some businesses find that their packing slips have <a href=\"https:\/\/community.shopify.com\/c\/shopify-discussions\/how-can-i-automatically-edit-or-delete-certain-line-item\/td-p\/2385654\" target=\"_blank\" rel=\"noreferrer noopener\">item options starting with underscores<\/a>, which are properties not meant for customers\u2019 eyes. These underscores can mess up the packing slip and ruin the customer experience.<\/p>\n\n\n\n<p>The good news is that MESA has a solution for this problem through an automated workflow. By following this simple walkthrough guide, merchants can hide item options starting with underscores and get clean, professional packing slips that represent their brand.<\/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 class=\"inline-cta\"><a href=\"https:\/\/app.getmesa.com\/install?\" target=\"_blank\" rel=\"noreferrer noopener\">Try MESA for free<\/a> and automatically clean up your ShipStation packing slips to improve your customer experience.<\/p>\n\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\/hide-shipstation-packing-slip-item-options-underscores\/#Why-hide-line-items-starting-with-underscores-in-ShipStation\" >Why hide line items starting with underscores in ShipStation?<\/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\/hide-shipstation-packing-slip-item-options-underscores\/#Step-by-step-guide-How-to-hide-underscore-item-options-from-ShipStation-packing-slips\" >Step-by-step guide: How to hide underscore item options from ShipStation packing slips<\/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\/hide-shipstation-packing-slip-item-options-underscores\/#Getting-started-with-ShipStation-packing-slips\" >Getting started with ShipStation packing slips<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.getmesa.com/blog\/hide-shipstation-packing-slip-item-options-underscores\/#ShipStation-packing-slip-tips\" >ShipStation packing slip tips<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.getmesa.com/blog\/hide-shipstation-packing-slip-item-options-underscores\/#Frequently-asked-questions\" >Frequently asked questions<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-why-hide-line-items-starting-with-underscores-in-shipstation\"><span class=\"ez-toc-section\" id=\"Why-hide-line-items-starting-with-underscores-in-ShipStation\"><\/span><strong>Why hide line items starting with underscores in ShipStation?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>When running an online store, merchants use internal SKUs and properties to track various aspects of their products and orders. These internal identifiers often start with underscores to differentiate them from customer-facing information. While this is helpful for backend organization, including these on packing slips can be confusing and not great for customer experience.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-56.png\"><img loading=\"lazy\" decoding=\"async\" width=\"555\" height=\"266\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-56.png\" alt=\"ShipStation packing slip example with line items.\" class=\"wp-image-12772\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-56.png 555w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-56-300x144.png 300w\" sizes=\"auto, (max-width: 555px) 100vw, 555px\" \/><\/a><\/figure>\n\n\n\n<p>Here are reasons to hide line items starting with underscores on <a href=\"https:\/\/help.shipstation.com\/hc\/en-us\/articles\/360057378051-Create-Custom-Packing-Slips\" target=\"_blank\" rel=\"noreferrer noopener\">ShipStation packing slips<\/a>:<\/p>\n\n\n\n<p><strong>Efficiency:<\/strong> Hiding unnecessary line items on your packing slips can also speed up your order fulfillment process. With fewer items to look at on the packing slip, your team can quickly and accurately verify orders and reduce errors.<\/p>\n\n\n\n<p><strong>Professionalism:<\/strong> A clean packing slip looks suitable for your brand. By removing internal SKUs and properties, you present a more professional image to your customers.<\/p>\n\n\n\n<p><strong>Customer experience:<\/strong> Customers like clear and concise information on their packing slips. Remove irrelevant or confusing line items starting with underscores so your customers can easily find what they need, product names, quantities, and prices.<\/p>\n\n\n\n<p>Unfortunately, you can\u2019t manually remove these item options in ShipStation.&nbsp;<\/p>\n\n\n\n<p>The only way to do this is through custom templates and automation. Tools like MESA can help you create custom workflows that hide line items starting with underscores for you so you don\u2019t have to.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-by-step-guide-how-to-hide-underscore-item-options-from-shipstation-packing-slips\"><span class=\"ez-toc-section\" id=\"Step-by-step-guide-How-to-hide-underscore-item-options-from-ShipStation-packing-slips\"><\/span><strong>Step-by-step guide: How to hide underscore item options from ShipStation packing slips<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\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\">This workflow processes orders from ShipStation, filters specific orders, and removes item options that start with an underscore.<\/p> <ol class=\"schema-how-to-steps\"><li class=\"schema-how-to-step\" id=\"how-to-step-1738344573066\"><strong class=\"schema-how-to-step-name\"><strong>Order created in ShipStation<\/strong><\/strong> <p class=\"schema-how-to-step-text\">This step triggers when a new order is created in ShipStation.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"354\" class=\"wp-image-12766\" alt=\"Order Created in ShipStation\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-52.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-52.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-52-300x69.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-52-1024x236.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-52-768x177.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1738344663116\"><strong class=\"schema-how-to-step-name\"><strong>Retrieve order details<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Retrieve full details of the order from ShipStation using the order ID. This ensures we have the most current information about the order, including all item options.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"864\" class=\"wp-image-12767\" alt=\"Retrieve Order Details\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-53.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-53.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-53-300x169.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-53-1024x576.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-53-768x432.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1738344741600\"><strong class=\"schema-how-to-step-name\"><strong>Remove underscore line item properties<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Execute custom code to delete any item options that begin with an underscore in the order&#8217;s options. Click the \u201cEdit code\u201d link to paste the following snippet into the editor.<br\/><br\/><code>const Mesa = require('vendor\/Mesa.js');<br\/>\/**<br\/>\u00a0* A Mesa Script exports a class with a script() method.<br\/>\u00a0*\/<br\/>module.exports = new class {<br\/>\u00a0\u00a0\/**<br\/>\u00a0\u00a0\u00a0* Mesa Script<br\/>\u00a0\u00a0\u00a0*<br\/>\u00a0\u00a0\u00a0* @param {object} payload The payload data<br\/>\u00a0\u00a0\u00a0* @param {object} context Additional context about this task<br\/>\u00a0\u00a0\u00a0*\/<br\/>\u00a0\u00a0script = (payload, context) => {<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Refer to previous steps<br\/>\u00a0\u00a0\u00a0\u00a0const vars = context.steps;<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Store updated ShipStation order<br\/>\u00a0\u00a0\u00a0\u00a0let updatedShipstationOrder = vars.shipstation_1;\u00a0<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Remove line item properties starting with underscore of ShipStation order in items.options<br\/>\u00a0\u00a0\u00a0\u00a0for (let item of updatedShipstationOrder.items) {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0item.options = item.options.filter(option =>\u00a0<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0option.name.toLowerCase().charAt(0) !== \"_\"<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0);<br\/>\u00a0\u00a0\u00a0\u00a0}<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Go to next step and pass updated ShipStation order<br\/>\u00a0\u00a0\u00a0\u00a0Mesa.output.next({updatedShipstationOrder: updatedShipstationOrder});<br\/>\u00a0\u00a0}<br\/>}<\/code><br\/><br\/><img loading=\"lazy\" decoding=\"async\" width=\"1538\" height=\"916\" class=\"wp-image-12768\" alt=\"Remove Underscore Line Item Properties\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-54.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-54.png 1538w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-54-300x179.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-54-1024x610.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-54-768x457.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-54-1536x915.png 1536w\" sizes=\"auto, (max-width: 1538px) 100vw, 1538px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1738344856110\"><strong class=\"schema-how-to-step-name\"><strong>Update ShipStation order<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Execute another custom code step to send the modified order back to ShipStation. This code updates the order, ensuring that the cleaned-up data is reflected in ShipStation. Click the \u201cEdit code\u201d link to paste the following snippet into the editor.<br\/><br\/><code>const Mesa = require('vendor\/Mesa.js');<br\/>\/**<br\/>\u00a0* A Mesa Script exports a class with a script() method.<br\/>\u00a0*\/<br\/>module.exports = new class {<br\/>\u00a0\u00a0\/**<br\/>\u00a0\u00a0\u00a0* Mesa Script<br\/>\u00a0\u00a0\u00a0*<br\/>\u00a0\u00a0\u00a0* @param {object} payload The payload data<br\/>\u00a0\u00a0\u00a0* @param {object} context Additional context about this task<br\/>\u00a0\u00a0\u00a0*\/<br\/>\u00a0\u00a0script = (payload, context) => {<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Refer to previous steps<br\/>\u00a0\u00a0\u00a0\u00a0const vars = context.steps;<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Get updated ShipStation order<br\/>\u00a0\u00a0\u00a0\u00a0let updatedShipstationOrder = vars.custom.updatedShipstationOrder;<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Get ShipStation credential<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Will need to create a ShipStation credential before this will work<br\/>\u00a0\u00a0\u00a0\u00a0let credential = JSON.parse(Mesa.credential.get('shipstation'));<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Get authorization header<br\/>\u00a0\u00a0\u00a0\u00a0let authHeader = Mesa.request.base64_encode(`${credential.key}:${credential.secret}`);<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Set headers<br\/>\u00a0\u00a0\u00a0\u00a0let options = {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"headers\": {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"Content-Type\": \"application\\\/json\",<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"Authorization\": \"Basic \" + authHeader,<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br\/>\u00a0\u00a0\u00a0\u00a0}<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Make POST request to ShipStation Create\/Update Order<br\/>\u00a0\u00a0\u00a0\u00a0let url = 'https:\/\/ssapi.shipstation.com\/orders\/createorder';<br\/>\u00a0\u00a0\u00a0\u00a0let results = Mesa.request.post(url, updatedShipstationOrder, options);\u00a0\u00a0\u00a0\u00a0<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Go to next step and pass payload<br\/>\u00a0\u00a0\u00a0\u00a0Mesa.output.next(payload);<br\/>\u00a0\u00a0}<br\/>}<\/code><br\/><br\/><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"924\" class=\"wp-image-12770\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-55.png\" alt=\"Update ShipStation Order\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-55.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-55-300x180.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-55-1024x616.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-55-768x462.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1738352044895\"><strong class=\"schema-how-to-step-name\"><strong>Test, then turn your workflow \u201cOn\u201d<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Give your workflow a test run to confirm it\u2019s ready, then activate it to run every time a new order is created in ShipStation.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"1446\" class=\"wp-image-12773\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-57.png\" alt=\"How to Hide ShipStation Packing Slip Item Options Starting with Underscores\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-57.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-57-300x282.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-57-1024x964.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-57-768x723.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><\/ol><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-getting-started-with-shipstation-packing-slips\"><span class=\"ez-toc-section\" id=\"Getting-started-with-ShipStation-packing-slips\"><\/span><strong>Getting started with ShipStation packing slips<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>ShipStation gives users two main options to customize packing slips: Basic and Advanced templates. Basic templates are a simple and user-friendly way to make minor changes to your packing slips, like adding a logo or changing the color scheme. These are good for businesses that don\u2019t need extensive customization or have limited tech expertise.<\/p>\n\n\n\n<p>Advanced templates give users more control over the content and layout of their packing slips. With Advanced templates, you can use HTML and ShipStation\u2019s custom variables to create highly customized packing slips that fit your business needs.<\/p>\n\n\n\n<p>By default, ShipStation\u2019s packing slip templates include all product item options.&nbsp;<\/p>\n\n\n\n<p>While this is helpful for some businesses, it also includes internal data irrelevant to customers, like SKUs or properties starting with underscores. This internal data can make packing slips look cluttered and unprofessional and ruin the customer experience.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-shipstation-packing-slip-tips\"><span class=\"ez-toc-section\" id=\"ShipStation-packing-slip-tips\"><\/span><strong>ShipStation packing slip tips<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>When customizing your ShipStation packing slips, follow best practices to ensure a smooth and efficient process.&nbsp;<\/p>\n\n\n\n<p><strong>Organize and document packing slip templates<\/strong><\/p>\n\n\n\n<p>To manage packing slip templates effectively, give each one a clear, descriptive name that reflects its purpose. This makes it easier to find the right template when processing orders. If your business handles multiple product lines or unique scenarios, create separate templates for each to avoid confusion.&nbsp;<\/p>\n\n\n\n<p><strong>Test custom templates with sample orders<\/strong><\/p>\n\n\n\n<p>Before using customized packing slips in actual orders, test them with sample orders representing various scenarios your business might encounter. Apply the templates to these orders and carefully review the results to ensure they display information correctly and meet your requirements.<\/p>\n\n\n\n<p>Organizing, documenting, and thoroughly testing your templates guarantees accurate and professional packing slips.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-frequently-asked-questions\"><span class=\"ez-toc-section\" id=\"Frequently-asked-questions\"><\/span><strong>Frequently asked questions<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1738343542022\"><strong class=\"schema-faq-question\"><strong>What happens to the deleted line item options after automation?<\/strong><\/strong> <p class=\"schema-faq-answer\">Any line item options you hide will be removed forever from packing slips generated with the MESA workflow.<br\/><br\/>If you hide item options that are prefixed with underscores, those details will no longer be visible on your packing slips. So, make sure you evaluate which line item options are truly not needed for your customers and order records before you make the change.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1738343555936\"><strong class=\"schema-faq-question\"><strong>Can I get the deleted line item options back?<\/strong><\/strong> <p class=\"schema-faq-answer\">In some cases, you may find that item options you previously hid are needed for reference or record-keeping purposes. But it cannot be undone once you hide a line item option from your ShipStation packing slip template.<br\/><br\/>ShipStation does not record the line item options you hide from your templates. So, if you need to retrieve any information that was removed, you\u2019ll need to look at the original order details in your ShipStation account.<\/p> <\/div> <\/div>\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\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ShipStation is popular shipping software that makes order processing and fulfillment easy for online businesses. One feature is the ability&#8230;<\/p>\n","protected":false},"author":1,"featured_media":12765,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[48],"tags":[11],"class_list":["post-12763","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-workflow-tutorials","tag-shipstation"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.8 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Hide Underscored Item Options on ShipStation Packing Slip<\/title>\n<meta name=\"description\" content=\"Learn to hide underscored item options on ShipStation packing slips with MESA&#039;s simple guide for clean, professional packing slips.\" \/>\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\/hide-shipstation-packing-slip-item-options-underscores\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Hide ShipStation Packing Slip Item Options Starting with Underscores\" \/>\n<meta property=\"og:description\" content=\"ShipStation is popular shipping software that makes order processing and fulfillment easy for online businesses. One feature is the ability to customize\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/\" \/>\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=\"2025-02-11T08:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-22T23:11:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/shipstation-packing-slip.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\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=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/\"},\"author\":{\"name\":\"Ryan ODonnell\",\"@id\":\"https:\/\/www.getmesa.com\/blog\/#\/schema\/person\/5ed8ee9c6f19090c4d5acb4f45efacb4\"},\"headline\":\"How to Hide ShipStation Packing Slip Item Options Starting with Underscores\",\"datePublished\":\"2025-02-11T08:00:00+00:00\",\"dateModified\":\"2025-12-22T23:11:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/\"},\"wordCount\":994,\"publisher\":{\"@id\":\"https:\/\/www.getmesa.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/shipstation-packing-slip.png\",\"keywords\":[\"shipstation\"],\"articleSection\":[\"Workflow Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/\",\"url\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/\",\"name\":\"Hide Underscored Item Options on ShipStation Packing Slip\",\"isPartOf\":{\"@id\":\"https:\/\/www.getmesa.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/shipstation-packing-slip.png\",\"datePublished\":\"2025-02-11T08:00:00+00:00\",\"dateModified\":\"2025-12-22T23:11:14+00:00\",\"description\":\"Learn to hide underscored item options on ShipStation packing slips with MESA's simple guide for clean, professional packing slips.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#faq-question-1738343542022\"},{\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#faq-question-1738343555936\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#primaryimage\",\"url\":\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/shipstation-packing-slip.png\",\"contentUrl\":\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/shipstation-packing-slip.png\",\"width\":1280,\"height\":720,\"caption\":\"How to Hide ShipStation Packing Slip Item Options Starting with Underscores\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.getmesa.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Hide ShipStation Packing Slip Item Options Starting with Underscores\"}]},{\"@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\":\"Question\",\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#faq-question-1738343542022\",\"position\":1,\"url\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#faq-question-1738343542022\",\"name\":\"What happens to the deleted line item options after automation?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Any line item options you hide will be removed forever from packing slips generated with the MESA workflow.<br\/><br\/>If you hide item options that are prefixed with underscores, those details will no longer be visible on your packing slips. So, make sure you evaluate which line item options are truly not needed for your customers and order records before you make the change.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#faq-question-1738343555936\",\"position\":2,\"url\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#faq-question-1738343555936\",\"name\":\"Can I get the deleted line item options back?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"In some cases, you may find that item options you previously hid are needed for reference or record-keeping purposes. But it cannot be undone once you hide a line item option from your ShipStation packing slip template.<br\/><br\/>ShipStation does not record the line item options you hide from your templates. So, if you need to retrieve any information that was removed, you\u2019ll need to look at the original order details in your ShipStation account.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"HowTo\",\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#howto-1\",\"name\":\"How to Hide ShipStation Packing Slip Item Options Starting with Underscores\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#article\"},\"description\":\"This workflow processes orders from ShipStation, filters specific orders, and removes item options that start with an underscore.\",\"totalTime\":\"P0DT0H5M\",\"step\":[{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#how-to-step-1738344573066\",\"name\":\"Order created in ShipStation\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"This step triggers when a new order is created in ShipStation.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#schema-image-13e97a1423a486c5dddc30d98f580837\",\"url\":\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-52.png\",\"contentUrl\":\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-52.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#how-to-step-1738344663116\",\"name\":\"Retrieve order details\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Retrieve full details of the order from ShipStation using the order ID. This ensures we have the most current information about the order, including all item options.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#schema-image-283e8ccc13e6c53389cdab7896e578ff\",\"url\":\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-53.png\",\"contentUrl\":\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-53.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#how-to-step-1738344741600\",\"name\":\"Remove underscore line item properties\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Execute custom code to delete any item options that begin with an underscore in the order's options. Click the \u201cEdit code\u201d link to paste the following snippet into the editor.const Mesa = require('vendor\/Mesa.js');\/**\u00a0* A Mesa Script exports a class with a script() method.\u00a0*\/module.exports = new class {\u00a0\u00a0\/**\u00a0\u00a0\u00a0* Mesa Script\u00a0\u00a0\u00a0*\u00a0\u00a0\u00a0* @param {object} payload The payload data\u00a0\u00a0\u00a0* @param {object} context Additional context about this task\u00a0\u00a0\u00a0*\/\u00a0\u00a0script = (payload, context) => {\u00a0\u00a0\u00a0\u00a0\/\/ Refer to previous steps\u00a0\u00a0\u00a0\u00a0const vars = context.steps;\u00a0\u00a0\u00a0\u00a0\/\/ Store updated ShipStation order\u00a0\u00a0\u00a0\u00a0let updatedShipstationOrder = vars.shipstation_1;\u00a0\u00a0\u00a0\u00a0\u00a0\/\/ Remove line item properties starting with underscore of ShipStation order in items.options\u00a0\u00a0\u00a0\u00a0for (let item of updatedShipstationOrder.items) {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0item.options = item.options.filter(option =>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0option.name.toLowerCase().charAt(0) !== \\\"_\\\"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0);\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\/\/ Go to next step and pass updated ShipStation order\u00a0\u00a0\u00a0\u00a0Mesa.output.next({updatedShipstationOrder: updatedShipstationOrder});\u00a0\u00a0}}\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#schema-image-7f698e926b628776c8611b01d7ab2286\",\"url\":\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-54.png\",\"contentUrl\":\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-54.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#how-to-step-1738344856110\",\"name\":\"Update ShipStation order\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Execute another custom code step to send the modified order back to ShipStation. This code updates the order, ensuring that the cleaned-up data is reflected in ShipStation. Click the \u201cEdit code\u201d link to paste the following snippet into the editor.const Mesa = require('vendor\/Mesa.js');\/**\u00a0* A Mesa Script exports a class with a script() method.\u00a0*\/module.exports = new class {\u00a0\u00a0\/**\u00a0\u00a0\u00a0* Mesa Script\u00a0\u00a0\u00a0*\u00a0\u00a0\u00a0* @param {object} payload The payload data\u00a0\u00a0\u00a0* @param {object} context Additional context about this task\u00a0\u00a0\u00a0*\/\u00a0\u00a0script = (payload, context) => {\u00a0\u00a0\u00a0\u00a0\/\/ Refer to previous steps\u00a0\u00a0\u00a0\u00a0const vars = context.steps;\u00a0\u00a0\u00a0\u00a0\/\/ Get updated ShipStation order\u00a0\u00a0\u00a0\u00a0let updatedShipstationOrder = vars.custom.updatedShipstationOrder;\u00a0\u00a0\u00a0\u00a0\/\/ Get ShipStation credential\u00a0\u00a0\u00a0\u00a0\/\/ Will need to create a ShipStation credential before this will work\u00a0\u00a0\u00a0\u00a0let credential = JSON.parse(Mesa.credential.get('shipstation'));\u00a0\u00a0\u00a0\u00a0\/\/ Get authorization header\u00a0\u00a0\u00a0\u00a0let authHeader = Mesa.request.base64_encode(`${credential.key}:${credential.secret}`);\u00a0\u00a0\u00a0\u00a0\/\/ Set headers\u00a0\u00a0\u00a0\u00a0let options = {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\\\"headers\\\": {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\\\"Content-Type\\\": \\\"application\\\\\/json\\\",\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\\\"Authorization\\\": \\\"Basic \\\" + authHeader,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\/\/ Make POST request to ShipStation Create\/Update Order\u00a0\u00a0\u00a0\u00a0let url = 'https:\/\/ssapi.shipstation.com\/orders\/createorder';\u00a0\u00a0\u00a0\u00a0let results = Mesa.request.post(url, updatedShipstationOrder, options);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/ Go to next step and pass payload\u00a0\u00a0\u00a0\u00a0Mesa.output.next(payload);\u00a0\u00a0}}\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#schema-image-263538e952e18918eaeb48c71a08a6bf\",\"url\":\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-55.png\",\"contentUrl\":\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-55.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#how-to-step-1738352044895\",\"name\":\"Test, then turn your workflow \u201cOn\u201d\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Give your workflow a test run to confirm it\u2019s ready, then activate it to run every time a new order is created in ShipStation.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#schema-image-0469a210951437c3631063b34c1465db\",\"url\":\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-57.png\",\"contentUrl\":\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-57.png\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Hide Underscored Item Options on ShipStation Packing Slip","description":"Learn to hide underscored item options on ShipStation packing slips with MESA's simple guide for clean, professional packing slips.","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\/hide-shipstation-packing-slip-item-options-underscores\/","og_locale":"en_US","og_type":"article","og_title":"How to Hide ShipStation Packing Slip Item Options Starting with Underscores","og_description":"ShipStation is popular shipping software that makes order processing and fulfillment easy for online businesses. One feature is the ability to customize","og_url":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/","og_site_name":"MESA","article_publisher":"https:\/\/web.facebook.com\/mesabyshoppad\/","article_published_time":"2025-02-11T08:00:00+00:00","article_modified_time":"2025-12-22T23:11:14+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/shipstation-packing-slip.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":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#article","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/"},"author":{"name":"Ryan ODonnell","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/person\/5ed8ee9c6f19090c4d5acb4f45efacb4"},"headline":"How to Hide ShipStation Packing Slip Item Options Starting with Underscores","datePublished":"2025-02-11T08:00:00+00:00","dateModified":"2025-12-22T23:11:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/"},"wordCount":994,"publisher":{"@id":"https:\/\/www.getmesa.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/shipstation-packing-slip.png","keywords":["shipstation"],"articleSection":["Workflow Tutorials"],"inLanguage":"en-US"},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/","url":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/","name":"Hide Underscored Item Options on ShipStation Packing Slip","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#primaryimage"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/shipstation-packing-slip.png","datePublished":"2025-02-11T08:00:00+00:00","dateModified":"2025-12-22T23:11:14+00:00","description":"Learn to hide underscored item options on ShipStation packing slips with MESA's simple guide for clean, professional packing slips.","breadcrumb":{"@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#faq-question-1738343542022"},{"@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#faq-question-1738343555936"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#primaryimage","url":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/shipstation-packing-slip.png","contentUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/shipstation-packing-slip.png","width":1280,"height":720,"caption":"How to Hide ShipStation Packing Slip Item Options Starting with Underscores"},{"@type":"BreadcrumbList","@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.getmesa.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Hide ShipStation Packing Slip Item Options Starting with Underscores"}]},{"@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":"Question","@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#faq-question-1738343542022","position":1,"url":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#faq-question-1738343542022","name":"What happens to the deleted line item options after automation?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Any line item options you hide will be removed forever from packing slips generated with the MESA workflow.<br\/><br\/>If you hide item options that are prefixed with underscores, those details will no longer be visible on your packing slips. So, make sure you evaluate which line item options are truly not needed for your customers and order records before you make the change.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#faq-question-1738343555936","position":2,"url":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#faq-question-1738343555936","name":"Can I get the deleted line item options back?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"In some cases, you may find that item options you previously hid are needed for reference or record-keeping purposes. But it cannot be undone once you hide a line item option from your ShipStation packing slip template.<br\/><br\/>ShipStation does not record the line item options you hide from your templates. So, if you need to retrieve any information that was removed, you\u2019ll need to look at the original order details in your ShipStation account.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"HowTo","@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#howto-1","name":"How to Hide ShipStation Packing Slip Item Options Starting with Underscores","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#article"},"description":"This workflow processes orders from ShipStation, filters specific orders, and removes item options that start with an underscore.","totalTime":"P0DT0H5M","step":[{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#how-to-step-1738344573066","name":"Order created in ShipStation","itemListElement":[{"@type":"HowToDirection","text":"This step triggers when a new order is created in ShipStation."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#schema-image-13e97a1423a486c5dddc30d98f580837","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-52.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-52.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#how-to-step-1738344663116","name":"Retrieve order details","itemListElement":[{"@type":"HowToDirection","text":"Retrieve full details of the order from ShipStation using the order ID. This ensures we have the most current information about the order, including all item options."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#schema-image-283e8ccc13e6c53389cdab7896e578ff","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-53.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-53.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#how-to-step-1738344741600","name":"Remove underscore line item properties","itemListElement":[{"@type":"HowToDirection","text":"Execute custom code to delete any item options that begin with an underscore in the order's options. Click the \u201cEdit code\u201d link to paste the following snippet into the editor.const Mesa = require('vendor\/Mesa.js');\/**\u00a0* A Mesa Script exports a class with a script() method.\u00a0*\/module.exports = new class {\u00a0\u00a0\/**\u00a0\u00a0\u00a0* Mesa Script\u00a0\u00a0\u00a0*\u00a0\u00a0\u00a0* @param {object} payload The payload data\u00a0\u00a0\u00a0* @param {object} context Additional context about this task\u00a0\u00a0\u00a0*\/\u00a0\u00a0script = (payload, context) => {\u00a0\u00a0\u00a0\u00a0\/\/ Refer to previous steps\u00a0\u00a0\u00a0\u00a0const vars = context.steps;\u00a0\u00a0\u00a0\u00a0\/\/ Store updated ShipStation order\u00a0\u00a0\u00a0\u00a0let updatedShipstationOrder = vars.shipstation_1;\u00a0\u00a0\u00a0\u00a0\u00a0\/\/ Remove line item properties starting with underscore of ShipStation order in items.options\u00a0\u00a0\u00a0\u00a0for (let item of updatedShipstationOrder.items) {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0item.options = item.options.filter(option =>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0option.name.toLowerCase().charAt(0) !== \"_\"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0);\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\/\/ Go to next step and pass updated ShipStation order\u00a0\u00a0\u00a0\u00a0Mesa.output.next({updatedShipstationOrder: updatedShipstationOrder});\u00a0\u00a0}}"}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#schema-image-7f698e926b628776c8611b01d7ab2286","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-54.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-54.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#how-to-step-1738344856110","name":"Update ShipStation order","itemListElement":[{"@type":"HowToDirection","text":"Execute another custom code step to send the modified order back to ShipStation. This code updates the order, ensuring that the cleaned-up data is reflected in ShipStation. Click the \u201cEdit code\u201d link to paste the following snippet into the editor.const Mesa = require('vendor\/Mesa.js');\/**\u00a0* A Mesa Script exports a class with a script() method.\u00a0*\/module.exports = new class {\u00a0\u00a0\/**\u00a0\u00a0\u00a0* Mesa Script\u00a0\u00a0\u00a0*\u00a0\u00a0\u00a0* @param {object} payload The payload data\u00a0\u00a0\u00a0* @param {object} context Additional context about this task\u00a0\u00a0\u00a0*\/\u00a0\u00a0script = (payload, context) => {\u00a0\u00a0\u00a0\u00a0\/\/ Refer to previous steps\u00a0\u00a0\u00a0\u00a0const vars = context.steps;\u00a0\u00a0\u00a0\u00a0\/\/ Get updated ShipStation order\u00a0\u00a0\u00a0\u00a0let updatedShipstationOrder = vars.custom.updatedShipstationOrder;\u00a0\u00a0\u00a0\u00a0\/\/ Get ShipStation credential\u00a0\u00a0\u00a0\u00a0\/\/ Will need to create a ShipStation credential before this will work\u00a0\u00a0\u00a0\u00a0let credential = JSON.parse(Mesa.credential.get('shipstation'));\u00a0\u00a0\u00a0\u00a0\/\/ Get authorization header\u00a0\u00a0\u00a0\u00a0let authHeader = Mesa.request.base64_encode(`${credential.key}:${credential.secret}`);\u00a0\u00a0\u00a0\u00a0\/\/ Set headers\u00a0\u00a0\u00a0\u00a0let options = {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"headers\": {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"Content-Type\": \"application\\\/json\",\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"Authorization\": \"Basic \" + authHeader,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\/\/ Make POST request to ShipStation Create\/Update Order\u00a0\u00a0\u00a0\u00a0let url = 'https:\/\/ssapi.shipstation.com\/orders\/createorder';\u00a0\u00a0\u00a0\u00a0let results = Mesa.request.post(url, updatedShipstationOrder, options);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/ Go to next step and pass payload\u00a0\u00a0\u00a0\u00a0Mesa.output.next(payload);\u00a0\u00a0}}"}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#schema-image-263538e952e18918eaeb48c71a08a6bf","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-55.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-55.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#how-to-step-1738352044895","name":"Test, then turn your workflow \u201cOn\u201d","itemListElement":[{"@type":"HowToDirection","text":"Give your workflow a test run to confirm it\u2019s ready, then activate it to run every time a new order is created in ShipStation."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/hide-shipstation-packing-slip-item-options-underscores\/#schema-image-0469a210951437c3631063b34c1465db","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-57.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-57.png"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/12763","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=12763"}],"version-history":[{"count":11,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/12763\/revisions"}],"predecessor-version":[{"id":17329,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/12763\/revisions\/17329"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media\/12765"}],"wp:attachment":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media?parent=12763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/categories?post=12763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/tags?post=12763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}