{"article":{"id":39525523971995,"url":"https://celigosuccess.zendesk.com/api/v2/help_center/en-us/articles/39525523971995.json","html_url":"https://docs.celigo.com/hc/en-us/articles/39525523971995-Shopify-B2B-NetSuite-integration-template","author_id":1266213965449,"comments_disabled":true,"draft":false,"promoted":false,"position":0,"vote_sum":0,"vote_count":0,"upvote_count":0,"downvote_count":0,"section_id":39525523614875,"created_at":"2025-07-31T08:19:26Z","updated_at":"2026-11-10T12:59:46Z","name":"Shopify B2B - NetSuite integration template","title":"Shopify B2B - NetSuite integration template","source_locale":"en-us","locale":"en-us","outdated":false,"outdated_locales":[],"edited_at":"2026-11-10T12:59:46Z","user_segment_id":null,"user_segment_ids":[],"permission_group_id":728112,"content_tag_ids":[],"label_names":[],"body":"<p dir=\"ltr\">The Shopify B2B - NetSuite template automates and synchronizes the company, location, customer (contact), catalog, pricing, orders, fulfillment, shipment, and refunds between the Shopify B2B Plus store and NetSuite.</p>\n<div class=\"note\" dir=\"ltr\">\n<h3 id=\"note\">Note</h3>\n<p>This template is compatible with the <a href=\"https://docs.celigo.com/hc/en-us/sections/29937087987867\">Shopify – NetSuite integration app</a> flows. If you are using both the IA and this template, you will need to set a filter to exclude Shopify B2B orders from syncing through IA.</p>\n<p>If you are only using the template and installing it for the first time, as a prerequisite (before installing the template), make sure you install the <code>Celigo Shopify Connector</code> bundle (ID: <code>81289</code>) in your NetSuite account. For detailed information, see the <a href=\"#install-the-shopify-b2b-netsuite-template\">Install the Shopify B2B – NetSuite template</a> section.</p>\n</div>\n<p dir=\"ltr\">Shopify is a leading e-commerce platform designed for businesses of all sizes. B2B on Shopify is a suite with built-in features that enable merchants to sell business-to-business directly through their online store, without relying on third-party apps or complex workarounds. Merchants can set customer-specific price lists, payment terms, and currencies, and manage multiple buyers and locations under a single company profile. NetSuite is a comprehensive cloud-based ERP system that streamlines business operations such as financials, inventory, orders, and customer management.</p>\n<p dir=\"ltr\">Celigo already offers a pre-built Shopify-NetSuite integration App for D2C (B2C) businesses. To address the distinct requirements of B2B commerce, Celigo now provides a separate, dedicated template for integrating Shopify’s B2B offering with NetSuite. By setting up a Shopify B2B to NetSuite integration using this template, businesses can harness the capabilities of both platforms to efficiently synchronize key data such as companies, locations, customers (contacts), catalogs, pricing, orders, fulfillments, shipments, and refunds - ensuring a experience across sales operations and backend systems. The Shopify B2B – NetSuite template flow includes a filter that processes only those orders created by B2B customers associated with a specific company, allowing merchants to focus on scaling their B2B operations and managing flows in real-time, without the need for manual data transfers between Shopify and NetSuite.</p>\n\n<p dir=\"ltr\">In this template:</p>\n<ul>\n<li>\nThe company, contact, location, and payment details are bidirectional</li>\n<li>\nThe order, product item ID map, and refund details are from Shopify to NetSuite</li>\n<li>\nThe shipment, catalog, and pricing details are from NetSuite to Shopify</li>\n</ul>\n\n<p>The following video explains the Shopify B2B - NetSuite integration template</p>\n<div class=\"video-container wistia\">\n<div class=\"videoobject\">\n<iframe allowfullscreen=\"true\" frameborder=\"0\" src=\"https://fast.wistia.net/embed/iframe/qyne0x6vpf?videoFoam=true\" style=\"\" title=\"\">&amp;amp;amp;lt;!-- iframe instead of embed for d:videodata --&amp;amp;amp;gt;</iframe>\n<script async=\"async\" src=\"https://fast.wistia.net/assets/external/E-v1.js\"></script>\n</div>\n</div>\n<h2 id=\"supported-integration-flows\">Supported integration flows</h2>\n<p>The following built-in flows sync from the specified source data to the corresponding destination.</p>\n<h5 id=\"companies\">Companies</h5>\n<p dir=\"ltr\">When a merchant creates a company in Shopify B2B, it is not just a placeholder; it’s the center of operations. Every company can have multiple locations, and each of these locations, along with the company, can serve different customer segments with unique catalogs.</p>\n<p dir=\"ltr\">When a company is created in Shopify, it syncs to NetSuite as a customer. For the Shopify B2B Company, the customer’s type is set as Company. These companies can have dedicated contacts and sub-customers.</p>\n\n<div class=\"important\" dir=\"ltr\">\n<h3 id=\"important\">Important</h3>\n<p>To run the <strong>NetSuite Company to Shopify Company (create or update)</strong> flow, a Shopify Plus account is required, as specified by Shopify. For more information, see <a href=\"https://shopify.dev/docs/api/admin-graphql/latest/mutations/companycreate\" target=\"_blank\" rel=\"noopener\">API reference</a>.</p>\n</div>\n<ul>\n<li>\n<strong>NetSuite company to Shopify company (create or update)</strong>: Syncs companies and main contact from NetSuite to Shopify. This flow creates or updates any company records that are added.</li>\n<li>\n<strong>Shopify company and location to NetSuite company (create or update)</strong>: Syncs companies and locations from Shopify to NetSuite. This flow creates or updates any company or location records that are added.</li>\n</ul>\n<h5 id=\"sub-customers-netsuite-aka-locations-shopify\">Sub-customers (NetSuite) aka Locations (Shopify)</h5>\n<p dir=\"ltr\">In Shopify, a location defined under a company is represented in NetSuite as a sub-customer under the parent company record. A single company can have multiple sub-customers, each corresponding to a specific location defined within the Shopify company structure.</p>\n<p dir=\"ltr\">The company and sub-customers (locations) are also used to link the catalogs.</p>\n<p dir=\"ltr\">Each location can have:</p>\n<ul>\n<li>\nOne or more contacts (customers) assigned.</li>\n<li>\nOne or more catalogs can be linked to one location or company.</li>\n</ul>\n<p dir=\"ltr\">Each location can have one or more contacts (customers) assigned to it. Additionally, one or more catalogs can be linked to a location or the company itself. As a result, when a customer associated with a particular location or company logs into the Shopify store, they will only see the items included in the catalog assigned to that specific location or company. This ensures that even if the merchant has thousands of products in total, each customer sees only the relevant subset based on their assigned company or location that holds the catalog.</p>\n<p dir=\"ltr\">The Celigo Shopify B2B NetSuite template defines the location in NetSuite as sub-customers of a company. While NetSuite also allows locations to be represented through addresses, this approach has limitations, specifically, catalogs and contacts cannot be directly assigned to an address. Hence, sub-customers are preferred, since they support:</p>\n<ul>\n<li>\nCatalog assignment (via price levels).</li>\n<li>\nContact assignments.</li>\n</ul>\n<p dir=\"ltr\">While both addresses and sub-customers can be used to represent locations, sub-customers are the preferred approach and are implemented in this template due to their ability to support catalog and contact assignments. However, if needed, you can opt to sync the company’s address as a location by selecting the <strong>Create location for company</strong> checkbox under <strong>Settings</strong> &gt; <strong>General</strong> &gt; <strong>Locations</strong>.</p>\n<ul>\n<li>\n<strong>NetSuite locations to Shopify (Delete)</strong>: Synchronizes deletions of company locations from NetSuite to Shopify, ensuring that removed locations are also cleared from Shopify.</li>\n<li>\n<strong>NetSuite locations to Shopify locations (create or update)</strong>: Sync companies' sub-customers from NetSuite to Shopify companies' locations.</li>\n</ul>\n<h5 id=\"contacts\">Contacts</h5>\n<p dir=\"ltr\">In Shopify, each company is required to have a primary contact. Additionally, companies can have multiple contacts associated with them. These contacts represent individuals who act on behalf of the company, such as customer service representatives (CSRs). They are the actual users interacting with the store, for example, by browsing catalogs or placing orders.</p>\n<p dir=\"ltr\">In NetSuite, these contacts are linked to a parent customer record with the type set as Company or to the Sub-Customer (location) record.</p>\n<ul>\n<li>\n<strong>NetSuite contacts to Shopify contacts</strong>: Syncs NetSuite contacts to Shopify contacts. This flow creates or updates contacts that are added.</li>\n<li>\n<strong>Shopify contacts to NetSuite contacts</strong>: Syncs Shopify contacts to NetSuite contacts. This flow creates or updates contacts that are added.</li>\n</ul>\n<h5 id=\"orders\">Orders</h5>\n<p dir=\"ltr\">When a contact places an order in Shopify B2B, the order is made on behalf of the company, through a specific location, and by a particular contact.</p>\n<ul>\n<li>\n<p dir=\"ltr\"><strong>Shopify orders to NetSuite orders</strong>: Syncs orders from Shopify as sales orders to NetSuite. In NetSuite, a Shopify B2B order is mapped according to the following structure that ensures accurate company and catalog enforcement:</p>\n<p>\n</p>\n<ul>\n<li>\n<strong>Customer</strong>: Represents the parent company (Applies when the contact placing the order is assigned directly to the company, or when the <strong>Assign order to location</strong> setting is disabled).</li>\n</ul>\n<ul>\n<li>\n<strong>Sub-customer</strong>: Represents the location under the company (Applies when the contact placing the order is assigned directly to the location, and the <strong>Assign order to location</strong> setting is enabled).</li>\n<li>\n<strong>Contact</strong>: Captured within the order details, identifying the individual who placed the order.</li>\n</ul>\n</li>\n</ul>\n<h5 id=\"shipments\">Shipments</h5>\n<p dir=\"ltr\">After an order is synced to NetSuite, it uses the location’s shipping address to initiate the shipment and creates an item fulfillment record linked to the original sales order.</p>\n<ul>\n<li>\n<strong>NetSuite shipments to Shopify</strong>: Syncs sales order fulfillment from NetSuite to Shopify when the status of the fulfillment is changed to Shipped in NetSuite.</li>\n</ul>\n<p dir=\"ltr\">Shipment records are tied to the company or the sub-customer (location), making it easy to track:</p>\n<ul>\n<li>\nWhich location received the goods.</li>\n<li>\nFulfillment status and tracking numbers.</li>\n</ul>\n<h5 id=\"refunds\">Refunds</h5>\n<ul>\n<li>\n<strong>Shopify refunds to NetSuite refunds</strong>: Syncs item refund orders from Shopify to NetSuite refund. The flow helps you to create a customer refund from an invoice.</li>\n</ul>\n<h5 id=\"catalogs-and-pricing\">Catalogs and pricing</h5>\n<p dir=\"ltr\">Once locations (sub-customers) are defined, the next step is assigning a catalog and pricing.</p>\n<p dir=\"ltr\">In Shopify B2B, each location can have a dedicated multiple catalog assigned, and this catalog determines the products visible to customers at that location.</p>\n<p dir=\"ltr\">In NetSuite, a price level can be assigned to each company and its corresponding sub-customer (location). This price level represents the corresponding catalog and ultimately defines the set of available items and the applicable price for each item in the specific catalog.</p>\n<p dir=\"ltr\">When a contact logs in:</p>\n<ul>\n<li>\nThey only see products and prices associated with their companies'/location's catalog.</li>\n<li>\nEach contact under a company can have visibility into different catalogs, along with their related items and prices, depending on the location they are created under.</li>\n</ul>\n<div class=\"important\" dir=\"ltr\">\n<h3 id=\"important\">Important</h3>\n<p>Since the flows below uses the Shopify<a href=\"https://shopify.dev/docs/api/admin-graphql/latest/mutations/publicationCreate\" target=\"_blank\" rel=\"noopener\"><code>publicationCreate</code></a> mutation, the authenticated Shopify user must have the<code> write_publications</code> access scope. This permission allows the user to create and edit catalogs within Shopify. Failure to grant this access scope will result in the following error when running the flows: <code>Access denied for publicationCreate field.Required access: `write_publications` access scope</code>.</p>\n</div>\n<ul>\n<li>\n<strong>NetSuite price level catalogs to Shopify catalogs (create or update)</strong>: Syncs <strong>eTail Shopify price lists</strong> (a custom catalog record) from NetSuite into the Shopify catalog. Price lists are assigned to the catalog through an <strong>eTail Shopify Price Lists</strong> custom table in NetSuite. The rows created using this table are synced as the catalog in Shopify. This flow creates or updates catalogs that are added.</li>\n</ul>\n<ul>\n<li>\n<strong>NetSuite price level catalogs to Shopify companies and locations:</strong> Syncs catalog assignments from NetSuite to Shopify companies and locations. You can assign multiple price levels to a company or sub-customer in NetSuite by navigating to the <strong>Customer</strong> &gt; <strong>eTail</strong> tab and selecting the desired values from the <strong>eTail price level</strong> multi-select setting. This dropdown displays all available price levels configured in your NetSuite account.</li>\n</ul>\n<ul>\n<li>\n<p><strong>NetSuite price level to Shopify catalog product price</strong>: Syncs product-level pricing from NetSuite price levels to Shopify catalogs.</p>\n<p dir=\"ltr\"><strong>Use case</strong>: When a merchant wants to override the default percentage-based discount in a Shopify catalog with a specific price for a given item, this flow allows custom product-level pricing per item within a catalog.</p>\n<p dir=\"ltr\">For example, assume that each catalog in NetSuite is associated with a price level (10% discount). If the merchant wants to set a custom price for a specific item, instead of the assigned 10% discount, they can update the price manually under the 10% discount price level in NetSuite.</p>\n</li>\n</ul>\n<ul>\n<li>\n<strong>Remove locations from catalogs</strong>: Removes catalog-location assignments in Shopify based on changes in NetSuite.</li>\n</ul>\n<h5 id=\"payment\">Payment</h5>\n<p dir=\"ltr\">Payments in this template are handled through a bi-directional flow between NetSuite and Shopify.</p>\n<p dir=\"ltr\">In the <strong>NetSuite payments to Shopify payments</strong>, the flow retrieves payment records from NetSuite, performs a lookup for related orders in Shopify, and creates payments against those orders, provided they are not already marked as paid in Shopify.</p>\n<ul>\n<li>\n<strong>NetSuite payments to Shopify payments</strong>: Syncs payment records from NetSuite to Shopify order details and payment. This flow retrieves payment records from NetSuite, performs a lookup for related orders in Shopify, and creates payments against those orders, provided they are not already marked as paid in Shopify.</li>\n<li>\n<p dir=\"ltr\"><strong>Shopify payment to NetSuite payments</strong>: Syncs order payment details from NetSuite to Shopify customer payment records. Payments are managed through a real-time flow that requires a webhook to be set up in Shopify. When an order payment event occurs, the webhook triggers the flow, which then retrieves the transaction details from Shopify, looks up the related invoices in NetSuite, and creates a customer payment against the corresponding invoice.</p>\n<p>\n</p>\n<h5 id=\"create-your-webhook-in-shopify\">Create your webhook in Shopify</h5>\n<ol>\n<li>\nSign in to your Shopify admin account.</li>\n<li>\nNavigate to <strong>Settings</strong> &gt; <strong>Notifications</strong> and scroll down to <strong>Webhooks</strong>.</li>\n<li>\nSelect <strong>Create webhook</strong>. The Add webhook window opens.</li>\n<li>\nFrom <strong>Event</strong>, select <strong>Order payment</strong>.</li>\n<li>\nFrom <strong>Format</strong>, select <strong>JSON</strong>.</li>\n<li>\nIn <strong>URL</strong>, add the <strong>Public URL</strong> generated in your integrator.io <a href=\"https://docs.celigo.com/hc/en-us/articles/14983026623771#set-up-a-shopify-webhook-listener-0\">Shopify webhook</a> (automatically generated, required): Use the <strong>+</strong> button to generate a public URL for this webhook listener.</li>\n<li>\nFrom <strong>Webhook API version</strong>, select the desired version.</li>\n<li><p dir=\"ltr\">Select <strong>Save</strong>.</p></li>\n</ol>\n</li>\n</ul>\n<h5 id=\"product\">Product</h5>\n<ul>\n<li>\n<p><strong>Shopify products to NetSuite item map</strong>: Syncs the Shopify product IDs, variant IDs, and inventory item IDs to the corresponding NetSuite item ID map record.</p>\n<p>The product flow maps the Shopify Product ID, Variant ID, and Inventory Item ID from the Shopify product to the corresponding item in NetSuite and stores this information in a custom field located under the <strong>eTail</strong> tab <strong>&gt; Celigo Shopify Item ID Map</strong>.</p>\n</li>\n</ul>\n<div class=\"note\" dir=\"ltr\">\n<h3 id=\"note\">Note</h3>\n<p dir=\"ltr\">If you're using the Shopify–NetSuite Integration Application, it is recommended to continue using the IA-provided flows for both product synchronization and item ID mapping.</p>\n</div>\n<h2 id=\"install-the-shopify-b2b-netsuite-template\">Install the Shopify B2B – NetSuite template</h2>\n<p dir=\"ltr\">Keep your Shopify B2B and NetSuite account credentials ready:</p>\n<ol>\n<li>\n<p dir=\"ltr\">Install the <a href=\"https://docs.celigo.com/hc/en-us/articles/360006899231\">Celigo Shopify Connector bundle</a> (ID: 81289).</p>\n<div class=\"note\" dir=\"ltr\">\n<h3 id=\"note\">Note</h3>\n<p>This bundle will already be available in your NetSuite account if you are using the Shopify-NetSuite Integration Application.</p>\n</div>\n<p>\n</p>\n<ol>\n<li>\nSign in to your NetSuite account as an administrator.</li>\n<li>\nNavigate to <strong>Setup</strong> &gt; <strong>Customization</strong> &gt; <strong>SuiteBundler</strong> &gt; <strong>Search and install bundles</strong>.</li>\n<li>\nEnter and search the <strong>Bundle ID (81289)</strong>.</li>\n<li>\nSelect <strong>Install</strong> and wait for the installation to complete successfully.</li>\n</ol>\n</li>\n<li>\nNavigate to <a href=\"http://integrator.io\" target=\"_blank\" rel=\"noopener\">integrator.io</a> &gt; <strong>Marketplace</strong>.</li>\n<li>\nSearch and select the Shopify B2B - NetSuite template and select <strong>Install</strong>.</li>\n<li>\nReview the template’s contents and <strong>ReadMe,</strong> and select <strong>Install now</strong> to begin.</li>\n<li>\nSet up a connection to <a href=\"https://docs.celigo.com/hc/en-us/sections/360012329152\">NetSuite</a>.</li>\n<li>\nSet up a connection to <a href=\"https://docs.celigo.com/hc/en-us/sections/33100134335771\">Shopify</a> B2B store (API type: <strong>HTTP</strong>).</li>\n<li>\nSet up a connection to <a href=\"https://docs.celigo.com/hc/en-us/sections/33100134335771\">Shopify</a> B2B store (API type: <strong>GraphQL</strong>).</li>\n<li>\nInstall the <strong>Integrator SuiteApp</strong>.</li>\n<li>\nInstall the resources from the template zip.</li>\n<li>\nInstall the template.</li>\n</ol>\n<h2 id=\"mandatory-configurations-in-netsuite\">Mandatory configurations in NetSuite</h2>\n<p dir=\"ltr\">To sync catalogs (price lists) from NetSuite to Shopify, you have to configure the following settings in NetSuite. These settings control how catalogs are created, priced, and assigned to Shopify locations.</p>\n<h3 id=\"create-a-catalog-and-set-the-price-adjustment-type-in-netsuite\">Create a catalog and set the price adjustment type in NetSuite</h3>\n<p dir=\"ltr\">To create a new catalog:</p>\n<ol>\n<li>\nSign in to your NetSuite account.</li>\n<li>\nOpen the <strong>eTail Shopify price lists</strong> custom record page.</li>\n<li><p dir=\"ltr\">Select <strong>New eTail Shopify price lists</strong>.</p></li>\n<li>\nEnter a <strong>Name</strong>.</li>\n<li>\nSelect <strong>Related NetSuite price level</strong> (predefined price tier).</li>\n<li><p dir=\"ltr\">Select <strong>Currency</strong>.</p></li>\n<li>\nIn <strong>Price adjustment type</strong>, select <strong>New</strong>.</li>\n<li>\n<p dir=\"ltr\">In <strong>Name</strong>,</p>\n<p>\n</p>\n<ol>\n<li>\nEnter <code>Percentage Increase</code>, and in <strong>ID</strong>, enter <code>PERCENTAGE_INCREASE</code>.</li>\n<li>\nEnter <code>Percentage Decrease</code>, and in <strong>ID</strong>, enter <code>PERCENTAGE_DECREASE</code>.</li>\n<li><p>Select <strong>Save</strong>.</p></li>\n</ol>\n</li>\n<li>\nEnter <strong>Percentage</strong>.</li>\n<li>\nIn <strong>Compare at mode</strong>, select <strong>New</strong>. (Note: the <strong>Compare at mode</strong> is an optional field.)</li>\n<li>\n<p dir=\"ltr\">In <strong>Name</strong>,</p>\n<p>\n</p>\n<ol>\n<li>\nEnter <code>Nullify</code> in <strong>ID</strong>, enter <code>NULLIFY</code> , and in the <strong>Use case</strong> enter <code>Compare at price is set to null unless explicitly defined with a fixed price value</code>.</li>\n<li>\nEnter <code>Adjusted</code> in <strong>ID</strong>, enter <code>ADJUSTED</code>, and in the <strong>Use case</strong> enter <code>Compare at price is adjusted based on the percentage specified in the price list</code>.</li>\n<li><p dir=\"ltr\">Select <strong>Save</strong>.</p></li>\n</ol>\n</li>\n<li>\nSelect <strong>Save</strong>.</li>\n</ol>\n<h3 id=\"assign-a-price-level-to-a-specific-company-or-sub-customer-in-netsuite\">Assign a price level to a specific company or sub-customer in NetSuite</h3>\n<p dir=\"ltr\"><strong>Company</strong></p>\n<ol>\n<li>\nOpen the <strong>Customer</strong> record page that you want to assign a price level to.</li>\n<li>\nNavigate to <strong>eTail</strong> &gt; <strong>ShopifyB2B</strong>.</li>\n<li>\nFrom <strong>eTail price levels</strong>, select <strong>Price levels</strong>.</li>\n<li><p dir=\"ltr\">Select <strong>Save</strong>.</p></li>\n</ol>\n<p><strong>Sub-customer</strong></p>\n<ol>\n<li>\nOpen the <strong>Customer</strong> record page.</li>\n<li>\nNavigate to <strong>Information</strong> &gt; <strong>Sub-customers</strong>.</li>\n<li>\nOpen the required sub-customer.</li>\n<li>\nNavigate to <strong>eTail</strong> &gt; <strong>ShopifyB2B</strong>.</li>\n<li>\nSelect <strong>Edit</strong>.</li>\n<li>\nFrom <strong>eTail price levels</strong>, select <strong>Price levels</strong>.</li>\n<li><p>Select <strong>Save</strong>.</p></li>\n</ol>\n<p>This flow will sync the price level to the Companies/locations in Shopify.</p>\n\n<ol></ol>\n<h2 id=\"configure-the-settings\">Configure the settings</h2>\n<p dir=\"ltr\">In the installed template, navigate to <strong>Settings</strong>:</p>\n<h5 id=\"general\">General:</h5>\n<ul>\n<li>\n<strong>Default payment terms</strong>: This lets you predefine payment terms that can auto-populate in template flows for locations and companies. Even though it is not currently used in the active flow, it helps standardize payment terms when syncing data from NetSuite to Shopify.</li>\n<li><p dir=\"ltr\"><strong>Default contact role</strong>: This defines the default role assigned to a customer contact within a location. By default, the system assigns <strong>Ordering Only</strong>, and you can also select <strong>Location admin</strong>. This setting ensures that the selected role is automatically applied when creating or updating the company or company locations.</p></li>\n</ul>\n<h5 id=\"locations\">Locations:</h5>\n<ul>\n<li>\n<strong>Create location for company</strong>: This enables automatic creation of locations in Shopify based on company addresses in NetSuite.</li>\n<li>\n<strong>Billing same as shipping</strong>: This enables the billing address to be automatically set to be the same as the shipping address for the location. This simplifies address handling during customer sync or order placement.</li>\n<li>\n<strong>Editable shipping address</strong>: This enables customers to edit their shipping address during the Shopify checkout process. This is helpful for businesses that want to give end users flexibility at checkout.</li>\n<li><p dir=\"ltr\"><strong>Checkout to draft</strong>: This enables checking whether a location is allowed to create a draft order in Shopify during the checkout process. If checked, orders from this location will be saved as drafts instead of being placed directly.</p></li>\n</ul>\n<h5 id=\"main-contact-for-companies\">Main contact for companies:</h5>\n<ul>\n<li>\n<p dir=\"ltr\"><strong>Main Contact for Companies</strong>: This determines how the primary contact is selected when syncing company data from NetSuite to Shopify. In NetSuite, each company can have multiple contacts listed under the Relationships. This setting lets you choose whether the main contact should be selected based on the contact marked as the primary role or based on the oldest internal ID.</p>\n<p>\n</p>\n<ul>\n<li>\nIf the <strong>Primary role</strong> is selected, the contact explicitly set as the primary in NetSuite will be used.</li>\n<li><p dir=\"ltr\">If the <strong>Oldest internal ID</strong> is selected, the first contact created for that company will be assigned as the main contact during the sync.</p></li>\n</ul>\n</li>\n</ul>\n<h5 id=\"transactions\">Transactions:</h5>\n<ul>\n<li><p dir=\"ltr\"><strong>NetSuite tax code</strong>: This can be used when syncing orders from Shopify to NetSuite. If an order contains taxable line items, the flow adds a new line to the NetSuite sales order representing the tax amount.</p></li>\n</ul>\n<h5 id=\"orders\">Orders:</h5>\n<ul>\n<li>\n<strong>NetSuite discount Item:</strong> This is used when syncing Shopify orders that include discounts. The discount is added to the NetSuite order as a separate line using the selected non-inventory item. This ensures that discounts are properly recorded in NetSuite.</li>\n<li>\n<p dir=\"ltr\"><strong>Assign orders to the location</strong>: This determines whether the order in NetSuite is assigned to a specific location (sub-customer) or the main company.</p>\n<p>\n</p>\n<ul>\n<li>\nIf selected, the order created by a contact assigned to a location is assigned to the corresponding location or sub-customer.</li>\n<li><p dir=\"ltr\">If not selected, the order is assigned to the parent company, even when it is created by a contact assigned to a location.</p></li>\n</ul>\n</li>\n</ul>\n<h5 id=\"refunds\">Refunds:</h5>\n<ul>\n<li>\n<p dir=\"ltr\"><strong>Create return for refund</strong>: This controls whether a return authorization is created before processing a refund in NetSuite.</p>\n<p>\n</p>\n<ul>\n<li>\nIf selected, the flow will first create a return authorization, followed by a credit memo and refund.</li>\n<li>\nIf not selected, the return step is skipped entirely, and the refund is processed without a return record.</li>\n</ul>\n</li>\n<li><p><strong>NetSuite adjustment item</strong>: This refers to a non-inventory item in NetSuite used to represent refund adjustments. The item name should contain the keyword <code>refund</code> to be considered valid. The criteria for identifying such items can be customized in the saved search <strong>eTail Shopify refund adjustment items</strong>.</p></li>\n</ul>\n<h5 id=\"catalogs-and-pricing\">Catalogs and pricing</h5>\n<ul>\n<li>\n<p dir=\"ltr\"><strong>Default state</strong>: In <strong>Shopify</strong> &gt; <strong>Markets</strong> &gt; <strong>Catalog</strong>, each catalog can be configured with a <strong>Default state</strong>. This setting determines whether the catalog starts pre-populated with all products or is empty by default.</p>\n<p>\n</p>\n<ul>\n<li>\n<strong>All products</strong>: The catalog will initially include all existing products.</li>\n<li><p dir=\"ltr\"><strong>Empty</strong>: The catalog starts with no products. Products must be added manually or through the <strong>Automatically include new products</strong> option</p></li>\n</ul>\n</li>\n<li><p><strong>Auto publish</strong>: Any new product created in Shopify will be automatically added to the catalog when the user checks the Automatically include new products checkbox in Shopify. This ensures that merchants don’t need to manually update catalogs with each new product. When the user checks the Auto publish checkbox in Celigo, all the products that are synced from NetSuite to Shopify will be automatically published and made visible in the assigned catalog.</p></li>\n</ul>\n<h3 id=\"configure-the-shopify-b2b-netsuite-flows\">Configure the Shopify B2B – NetSuite flows</h3>\n<p>Additional <a href=\"https://docs.celigo.com/hc/en-us/articles/360019506771\">record mapping</a> is required to integrate the template’s exports and imports with your Shopify B2B and NetSuite apps.</p>\n<p>Note: all of your flows are disabled when first installed. After configuring the flows, you may enable them in your <strong>Flows</strong> dashboard or in <strong>Flow Builder</strong> with the Off/On toggle button. Then <a href=\"https://docs.celigo.com/hc/en-us/articles/115005571007\">run</a> the each flow.</p>"}}