Walkthrough: Set up and use the Shopify Connector
This section demonstrates some typical scenarios and takes you through the steps to test or train users on the workflow of the integrated Business Central and the Shopify store.
Prerequisites
Shopify
You must have:
- A Shopify account
- A Shopify online store
Learn more about how to create Shopify trials and recommended settings at Create and Set Up a Shopify Account.
Business Central
You must have a Business Central account.
For example, you can create a demo account or start a trial. Learn more at Prepare Demonstration Environments of Dynamics 365 Business Central and Sign up for the trial.
Connect Business Central to the Shopify shop
In Business Central, do the following:
- Select the icon, enter Shopify Shops, and then select the related link.
- Select the New action.
- In the Code field, enter
DEMO1
. - In the Shopify URL field, enter the URL for the online shop that you want to connect to.
- Activate the Enabled toggle and then review and accept the terms and conditions.
To configure the Shopify shop, follow these steps:
- Turn off the Allow Background Syncs toggle.
- Select To Shopify in the Sync Item field.
- Select To Shopify in the Sync Item Images field.
- Turn on the Sync Item Attributes toggle.
- Turn on the Inventory Tracked toggle.
- Select Deny in the Default Inventory Policy field.
- Turn on the Auto Create Unknown Customers toggle.
- Fill in the Customer/Company Template Code field with the appropriate template.
- Fill in the Shipping Cost Account, the Tip Account with the revenue account. For example, in the US, use
40210
. - Turn on the Auto Create Orders toggle.
- Turn off the Auto Release Sales Orders toggle.
Configure location mapping:
- Select the Locations action to open Shopify Shop Locations.
- Select the Get Shopify Locations action to import all locations defined in the Shopify. Select entry with Is Primary toggle is selected.
- In the Location Filter, enter
''|EAST|MAIN
. - Select Projected Available Balance at Today in the Stock Calculation field to enable an inventory sync for a selected Shopify location.
Walkthrough: Start selling products online
Scenario
Let's say that you want to try Shopify as an online store without spending much time on setup, especially because you already maintain your items in Business Central properly. After you launch your Shopify online store, you immediately get new customers who are happy with your shop and their buying experience. So, they decide to leave tips at checkout.
Steps
In Business Central, follow these steps:
- Select the icon, enter Shopify Products, and select the related link.
- Select Add Items.
- In the Shop Code field, enter
DEMO1
. - Set the filter
CHAIR
on the Item Category Code field . - Turn on the Sync Product Images toggle.
- Turn on the Sync Inventory toggle.
- Select OK and wait until initial synchronization of items, prices, images and inventory is completed.
In the Shopify online store:
Tip
Open Shopify admin by navigating to the URL specified in the URL field of the Shopify Shop Card page. Select the eye icon next to the Online Store sales channel, located in the sidebar of Shopify admin.
Open the product catalog. Notice:
- Product titles, images, and prices.
- Availability indicator (sold out for out-of-stock products).
Choose any product that can be sold—for example, the BERLIN Swivel Chair, yellow
. Notice that the description contains item attributes.
Select Buy it now and proceed to checkout.
- In the Email or mobile phone number field, enter
cl@contoso.com
(or email where you want to receive order and shipping confirmations). - In the First name and Last name fields, enter
Claudia Lawson
. - Enter the local address.
- Select the Save this information for next time checkbox.
- Keep Standard as the shipping method.
- In the Credit Card number field, enter
1
if you use (for testing) Bogus Gateway, or enter5555 5555 5555 4444
if you use Shopify payments in test mode. - Fill in the Name on card field.
- In the Expiration date field, enter the current month/year.
- In the Security code, enter
111
. - Optional: Select
10%
tip. -
- Select Pay now.
In Business Central, do the next steps:
- Select the icon, enter Shopify Orders, and then select the related link.
- Select the Sync Orders From Shopify action.
- Select OK.
The imported order is ready for processing.
- Select the imported order to open the Shopify Order window.
- Notice that the new customer and sales orders are created.
- Explore the Risk and Shipping Cost actions.
- Select Sales Order to open the Sales Order window. Sales order is a demand that, if necessary, can be covered with assembly, production, or by purchase with the help of the planning engine. It also supports various warehouse handling processes with complete separation of duties.
- In the Agent field, enter
DHL
. Reopen order if needed by choosing Reopen action. - In the Package Tracking No., enter
123456789
. - Select Post, keep the Ship and Invoice option, and then select OK.
Now physical and financial data is registered in Business Central. It’s time to notify Shopify about the changes.
- Select the icon, enter Sync Shipments to Shopify, and select the related link.
- Select OK.
In Shopify Admin, notice that the order is now marked as Fulfilled. You can also review shipment details and see the tracking URL there. If you run Sync Orders From Shopify again, the order will be archived in both systems.
Walkthrough: Add your customers to your new online store
Scenario
After a successful quick launch of your new online store, you want your current customers to visit it and start placing orders. Depending on your Shopify plan and process you can try B2B and DTC flows.
DTC Steps
In Business Central, do the following:
- Select the icon, enter Shopify Customers, and select the related link.
- Select Add Customers.
- In the Shop Code field, enter
DEMO1
. - Set the filter
20000
on the No. field. - Select OK and wait until initial synchronization of customers is completed.
In Shopify Admin, notice that the customer was imported. Open the customers and notice that the first and last names of the customer are coming from the Contact Name field of the Customer Card. The company name can be found in the default address, linked to the customer. If you use Classic customer accounts, then you can select Send account invite to invite the customer. With New customer accounts a password isn't required for customers to log in, instead Shopify lets your customers log in using a one-time 6-digit verification code sent by email.
B2B Steps
Note
This feature is currently in preview so that our customers and partners can provide feedback. It'll become a standard feature in 2024 release wave 1.
In Business Central, do the following:
- Select the icon, enter Shopify Companies, and select the related link.
- Select Add Company.
- In the Shop Code field, enter
DEMO1
. - Set the filter
30000
on the No. field. - Select OK and wait until initial synchronization of customers is completed.
In Shopify Admin, notice that both the Company and the customer was imported. Open the customers and notice the Company fact box with link to Company, location and assigned permissions. Select [...] in the **Copmany fact box, then select Send B2B access email to invite the customer.
Walkthrough: Fine-tuning of item management
Scenario
You'd like to add more flexibility and control to your processes around items management. You want to improve product descriptions and would like to add more review steps before products become available to all customers.
Steps
In Business Central, do the following:
Prepare data.
Select the icon, enter Customer Price Group, and select the related link.
Add a new price group. In the Code field, enter
SHOPIFY
.Close the Customer Price Group window.
Select the icon, enter Items, and select the related link.
Select item 1896-S, Athens Desk and then follow these steps:
Select the Variants action and then add two variants:
PREMIUM, Athens Desk, Premium edition
andESSENTIAL, Athens Desk, Essential edition
.Select the Marketing Text action and use the Draft with Copilot to get creative and engaging text. If marketing text suggestion is not enabled, just enter: 'Simple stylish design blends with any ensemble. Available in two editions.'.
Select the Sales Prices action and add new prices as shown in the following table:
Line Sales Type Sales Code Type Code Variant Code
(add the field via personalization)Unit Price 1 Customer Price Group SHOPIFY Item 1896-S ESSENTIAL 700 2 Customer Price Group SHOPIFY Item 1896-S PREMIUM 1000 Select the Sales Discounts action and add a new discount:
- Sales Type Customer Disc. Group
- Sales Code RETAIL
- Type Item
- Code 1896-S
- Unit of Measure Code PCS
- Line Discount % 10
Select the Item References action and the following add lines:
Line | Reference Type | Reference No. | Variant Code |
---|---|---|---|
1 | Barcode | 77777777 | ESSENTIAL |
2 | Barcode | 11111111 | PREMIUM |
- Select the item 1920-S, ANTWERP Conference Table and then follow these steps:
- Select Adjust Inventory and in the New Inventory field, enter
100
for the locations EAST and WEST. - Select OK.
Adjust the synchronization settings.
- Select the icon, enter Shopify Shops, and select the related link.
- Select the
DEMO1
shop for which you want to synchronize items to open the Shopify Shop Card page. - Enable the Sync Marketing Text field.
- Select Item No.+ Variant Code in the SKU Mapping field.
- Select Continue in the Default Inventory Policy field.
- Select Draft in the Status for Created Products field.
- Select Status to Archived in the Action for Removed Product field.
- Select SHOPIFY in the Customer Price Group field.
- Select RETAIL in the Customer Discount Group field.
Run the synchronization.
- Select the icon, enter Shopify Shops, and select the related link.
- Select the
DEMO1
shop for which you want to synchronize items to open the Shopify Shop Card page. - Select Products to open the Shopify Products window.
- Select the Add Items action.
- Set the filter TABLE|DESK on the Item Category Code field.
- Turn on the Sync Product Images toggle.
- Turn on the Sync Inventory toggle.
- Select OK and wait until initial synchronization of items, prices, images and inventory is completed.
Products are added. Notice that the status is set to Draft, and therefore items aren't visible in the Shopify online store.
- Select the line with item 1920-S, ANTWERP Conference Table. In the SEO Title, enter
Rectangular meeting table Antwerp, 10 seats, black
. - Select Active in the Status field.
- Select the line with item 1906-S, ATHENS, Mobile Pedestal and then select Delete.
In Shopify Admin, notice that all products have different statuses.
- ANTWERP Conference Table is Active because we changed its status in the Shopify Product window.
- ATHENS Desk is Draft because we configured the default status for all added products to be Draft.
- ATHENS Mobile Pedestal is Archived because we configured the shop to automatically assign status Archived for deleted products.
Notice that Inventory for ANTWERP Conference Table is 100, because we configured the system to use inventory only from two locations, MAIN and EAST. Inventory on another location (WEST) is ignored.
- Open ANTWERP Conference Table, notice the Custom Type, Vendor, Weight, and Cost per item fields, and the Search engine listing preview section.
- Open Athens Desk, scroll down to the Variants section, and notice how SKU is populated.
- Select Edit to review barcode and prices.
- Change the status of Athens Desk to Active and select Preview.
In the Shopify online store, open the product catalog and find the ATHENS Desk product. Notice that different options are available. For different options, prices are different. Pay attention to discount information.
Additional steps for B2B
Note
This feature is currently in preview so that our customers and partners can provide feedback. It'll become a standard feature in 2024 release wave 1.
You can configure connector to create and assign catalog for exported Companies automatically. The steps below are useful if you want more precise control of what is available for B2B customers.
In Shopify AdmincCreate and assign catalog.
- Select Products and then Catalogs in the sidebar of Shopify admin.
- Create catalog for Specific products. Give in title 'B2B'.
- Choose Manage and then Manage products and pricing.
- Select Excluded filter, find ATHERN Desk and choose Include in catalog.
- Select Customers and then Companies in the sidebar of Shopify admin.
- Select School of Fine Art and choose [...] and then Add catalogs and add B2B catalog created earlier.
In Business Central, do the following:
Prepare data.
Select the icon, enter Items, and select the related link.
Select item 1896-S, Athens Desk and then follow these steps:
Select the Sales Discounts action and add a new discount:
- Sales Type Customer Disc. Group
- Sales Code LARGE ACC
- Type Item
- Code 1896-S
- Unit of Measure Code PCS
- Line Discount % 25
Select the icon, enter Shopify Catalogs, and select the related link.
Select Get Catalogs.
In the Shop Code field, enter
DEMO1
.Select entry with name B2B catalog for which you want to synchronize prices.
Enable the Sync Prices toggle.
Select SHOPIFY in the Customer Price Group field.
Select LARGE ACC in the Customer Discount Group field.
Choose Sync Prices and wait until synchronization of prices is completed.
In Shopify Admin, explore prices for B2B catalog.
In the Shopify online store, open the product catalog and find the ATHENS Desk product. Note prices are discount information.
Walkthrough: Check out and order synchronization for Individual buyer and Company representative
This is a continuation of Walkthrough: Start selling products online. You can also try with your own data—for example, your Shopify store or sandbox.
Individual buyer
- In the Shopify online store. Choose Account icon. Enter email you have access to.
- Log in using a one-time 6-digit verification code sent by email you entered.
- Explore product catalog, you should be able to see all products with retail prices.
- Select Essential variant and select Buy it now and proceed to checkout.
- Fill in the First name and Last name fields.
- Enter the local address.
- Keep Standard as the shipping method.
- In the Credit Card Number field, enter
1
if you use (for testing) Bogus Gateway, or enter5555 5555 5555 4444
if you use Shopify payments in test mode. - In the Expiration date field, enter the current month/year.
- In the Security code, enter
111
. - Fill in the Name on card field.
- Select Pay now.
Company representative
Note
This feature is currently in preview so that our customers and partners can provide feedback. It'll become a standard feature in 2024 release wave 1.
- In Shopify Admin.
- Select Customers and then Companies in the sidebar of Shopify admin.
- Open School of Fine Art entry.
- Choose [...] in the Shcool of Fine Art faxt box and then Edit payment terms and select Due on fulfillment.
- Choose [...] in the Customers faxt box and then Add customer and add one with email you used to log in to the store earlier.
- In the Shopify online store. Choose Account icon. Enter email you have access to.
- Log in using a one-time 6-digit verification code sent by email you entered.
- Explore product catalog, you should be able to see only product added to the B2B catalog with retail special prices.
- Select Essential variant and select Buy it now and proceed to checkout.
- Notice that account, Ship to, payment method are populated.
- Fill in the PO Number fied with
PO-12345
. - Select Submit order.
In Business Central, do the next steps:
- Select the icon, enter Shopify Orders, and then select the related link.
- Select the Sync Orders From Shopify action.
- Select OK.
The imported order is ready for processing.
- Select the imported order to open the Shopify Order window.
- Notice that the though both orders were submitted by same person, they are linked to two different customers.
- In the order submitted on behalf of company you can see value in PO Number field, which is also transferred to the External Document No. field of created sales document.
- Because we configured B2B Company to handle payments outside of Shopify the Financial Status is set to Pending. Once you received paiment, select the Mark as Paid action. Financial status will be updated in Shopify.
Walkthrough: Import items, customers, companies from Shopify
Scenario
You already have a successful online store and would like to start using Business Central as business management software. You would like to import as much data from Shopify as possible.
Steps
This is a continuation of Walkthrough: Start selling products online and Walkthrough: Add your customers to your new online store. You can also try with your own data—for example, your Shopify store or sandbox.
In Business Central, follow the steps listed next.
Prepare data
- Switch to a free 30-day trial without sample data. For more information, see Add your own data to an empty trial.
- Select the icon, enter Shopify Shops, and then select the related link.
- Select New.
- In the Code field, enter
DEMO2
. - In the Shopify URL field, enter the URL to the online shop that you want to connect to.
- Activate the Enabled toggle and then review and accept the terms and conditions.
Configure the Shopify shop as described here:
- Deactivate the Allow Background Syncs toggle.
- Select From Shopify in the Sync Item field.
- Enable the Auto Create Unknown Items toggle.
- Fill in the Item Template Code field with the appropriate template.
- Select From Shopify in the Sync Item Images field.
- Select Item No.+ Variant Code in the SKU Mapping field.
- Select All Customers in Customer Import from Shopify.
- Enable the Auto Create Unknown Customer toggle.
- Fill in the Customer/Company Template Code field with the appropriate template.
- Select All Customers in Company Import from Shopify.
- Enable the Auto Create Unknown Company toggle.
Run the synchronization
- Select the icon, enter Shopify Shops, and select the related link.
- Select the DEMO2 shop for which you want to synchronize data to open the Shopify Shop Card page.
- Select Sync Products.
- Select Sync Product Images.
- Select Sync Customers.
- Select Sync Companies
Results
- Shopify Products are imported. To verify, select the icon, enter Shopify Products, and select the related link.
- Items with images are created. To verify, select the icon, enter Item, and select the related link.
- Shopify Customers are imported. To verify, select the icon, enter Shopify Customers, and select the related link.
- Shopify Companies are imported. To verify, select the icon, enter Shopify Companies, and select the related link.
- Customers are created. To verify, select the icon, enter Customers, and select the related link.
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for