Integrate with Shopify

Scope: To pull product data from your Shopify store and keep it in sync with your Foundation store. Optionally, push order data that is being placed on your Foundation store to Shopify. This will NOT affect your catalog or workflow in Shopify.

In this guide, we'll walk you through the process of connecting your Shopify store with your wholesaler’s Foundation account.

Step 1: Log into Your Shopify Store

Log into your Shopify store.

Step 2: Enable Custom App

Before you can create a custom app for your store, you need to activate custom app development. You need to be the store owner or a staff member with the Enable app development permission to activate custom app development.

  1. In the pop-up, select App and sales channel settings
  2. From your Shopify admin, click on Apps in the left navigation menu
  3. Click Develop apps.
  4. Click Allow custom app development.


Step 3: Create the App

After you've enabled custom app development, you can create a custom App.

Click on 'Create an App'. You'll need to enter the application name (for example, 'Foundation B2B').

  1. Click Develop apps.
  2. Click Create a custom app.
  3. In the modal window, enter the app name and select an app developer. The app developer can be the store owner or any staff or collaborator account with the Develop Apps permission.
  4. Click Create app.

Step 4: Configure Admin API Scopes

Next, click on 'Configure Admin API Scopes'. You'll need to filter access scopes by 'Products' and check 'Read Products'. Next, filter by ‘Inventory’ and check both write and read inventory. Then, filter again with 'Orders' and select all the scopes except 'Script Tags'. Finally, save the 15 selected Admin API Access Scopes. Once you've set up the app, you can install it.

📖After you create a custom app, you can assign API scopes to it. In order to sync product data with your Foundation store, you need to provide its products and orders API scopes. You can disable order and inventory sync in the Foundation portal if you do not want your wholesale store to send those data to Shopify. Once you have selected the API scopes, you need to install the app.

  1. Click Select Configure Admin API scopes.
  2. In the Admin API access scopes section:
    1. Filter access scopes by 'Products' and check 'Read Products'.
    2. Next, filter by ‘Inventory’ and check both write and read inventory.
    3. Then, filter again with 'Orders' and select all the scopes except 'Script Tags'
  3. Click Save
  4. Click Install App

Screenshot 2024-06-26 at 5.27.45 PM
Step 5: Go to Foundation Seller Portal

Now, return to the Foundation Seller Portal and click 'Profile'. From there, click on 'Admin'. You'll see an 'Integrations' tab on the left-hand navigation menu.

Step 6: Enable Shopify Integration

Click on the 'Integrations' tab. You'll see a Shopify integration option. Click the blue 'Enable' button and enter the API credentials and other details you received from Shopify after installing the app. Make sure to fill in all the details in the correct fields.

Step 7: Save and Sync

Once you've entered all the details, click 'Save'. After saving, you'll see three options: 'Products,' 'Orders,’ and 'Inventories.’ Immediately after clicking 'Save,' all the products from your Shopify store will be synced to Foundation in the 'Draft' state.

✔️Sync Products from Shopify

Enable this option to automatically import new product data and product updates from Shopify to Foundation.

✔️Send Orders to Shopify

Enable this option to automatically send orders placed on Foundation to Shopify and pull order status updates back to Foundation.

✔️Use Shopify as Inventory Source

Enable this option to sync inventory levels from Shopify to Foundation. Shopify will be the primary source of truth for inventory quantities on Foundation.

And that's it! You've now successfully connected your Shopify store with your Foundation account. This integration allows your products and orders to be easily managed across both platforms.


📩Need more help or further clarification? Email us at success@getfoundation.com.