Skip to main content

Fields mapping

Items export – fields mapping

If in Business central user have settings for export Items from system to Shopify, system will use following mapping of fields:

Business central, table Item (or Variant)Shopify
Descriptiontitle
Descriptionbody-html
No.handle
Name of Vendorvendor
Item Category Codetags
Unit Priceprice
No. + ”_” + Variant Codesku
Net Weight * 1000grams
Net Weightweight
’kg’weight-unit
’continue’inventory-policy
Item Cross Reference - Cross-Reference No.barcode
’manual’fulfillment-service
’shopify’inventory-management
Inventoryinventory-quantity

Customer export – fields mapping

If in Business central user have settings for export customers from system to Shopify, system will use following mapping of fields:

Business central, table CustomerShopify
Name (first part before Space)first_name
Name (last part before Space)last_name
E-Mailemail
Phone No.phone
 default_address
Addressaddress1
Address 2address2
Citycity
Countyprovince
Country -> Namecountry-name
Country/Region Codecountry-code
Post Codezip

Orders import – fields mapping

When Business Central is importing orders from Shopify, system will use following mapping of fields:

Business central, table Sales Header and Sales LineShopify
Sales Header 
Order Datecreated-at
 billing-address
Bill-to Namename
Bill-to Addressaddress1 + address2
Bill-to Citycity
Bill-to Post Codezip
Bill-to Country/Region Codecountry-code
 shipping-address
Sell-to Customer Namename
Sell-to Addressaddress1 + address2
Sell-to Citycity
Sell-to Post Codezip
Ship-to Countyprovince
Sell-to Country/Region Codecountry-code
Ship-to Namefirst-name + last-name + company
Ship-to Countyprovince
Sales Line 
Type = Item 
No.--search for Item No. with logic below
Quantityquantity
Unit Priceprice
Line Discount Amounttotal-discount

Note – when system is importing orders, it checks whether this Order already exists in system by filtering existing Sales Oredrs (and Posted Sales Invoices) with value ” Your Reference” = Shopify order ID.

Seach for Item in Shopify order – when system is importing order from Shopify, it searches form item with following logis

  • system takes value from ’sku’ field and try to find Item with equivalent No. If not foudn then...

  • system seach for product information in Shopify, takes field ’handle’ try to find Item with equivalent No. If not found then...

  • system searches value from ’sku’ field in Item Cross Reference table.