Configuration in Shopify

​To connect Sales Layer with your Shopify store, you must enable an external application in the e-commerce by following these steps:

  • Go to Apps in Shopify:
Home in Shopify
  • Select Apps and channel settings: 
App and sales channel settings
  • Next, select Develop Apps:
Apps and sale channels
  • Now, select Create an App and activate the app that will serve as a connection between Sales Layer and Shopify:
1

After naming the app, go to the Configuration > Admin API Integration tab you should select at least the following permissions:

FunctionalitySales Layer item types and fields involvedShopify permission

Required for any synchronization

 

Including working with metafields

For metafields: any category/product/variant 's metafield (defined or not) created by the user.

metafields_global_title_tag and metafields_global_description_tag will no longer need these permissions.

read_inventory

read_locales

read_locations

read_products

read_product_listings

read_publications

read_translations

read_files

write_products

write_publications

write_translations

write_files

write_metaobjects

read_metaobjects

read_metaobject_definitions

Markets

In product:

  • markets
  • presentment_prices

In variant:

  • presentment_prices

read_markets

write_markets

Media files

Product:

  • media_video
  • media_video_alt
  • media_order
  • any file/video type metafield

read_files

write_files

Inventory / inventory_quantity

Products:

  • cost_per_item
  • country_code_of_origin
  • province_code_of_origin
  • requires_shipping
  • tracked
  • inventory_quantity
  • weight_unit
  • weight
  • province_code_of_origin
  • countryHarmonizedSystemCodes

Variants:

  • cost_per_item
  • country_code_of_origin
  • requires_shipping
  • tracked
  • inventory_quantity
  • weight_unit
  • weight
  • province_code_of_origin
  • harmonized_system_code
  • countryHarmonizedSystemCodes

write_inventory

read_fulfillments

write_fulfillments

 

Configuration tab
  • Click on Save to apply the selected permissions. The Install App button will appear for you to be able to install the app.
Save button
  • After installing the app, you will be redirected to the API Credentials tab. Here you can access the keys that you have to insert in your Sales Layer Shopify connector:
Admin API access token and secret key
  • Once the app is activated, you can insert all the generated data in Sales Layer:
  • Insert:
    • the Shopify API Key in the connector API Key field.
    • the Shopify Token API in the connectorToken API field. 
    • the Shop name field will need to contain the URL of the store as shown in the example.
  • Fill in the Secret Key field with the Access Token. This action will only be done in Shopify Admin and the key will remain hidden.
ID Code