Help Center

Import: Magento 2.x - Magento 2 Native REST API

Yesenia DeSalle
Yesenia DeSalle
  • Updated

This implementation of Magento 2 does not require the installation of our FeedManagement extension from composer or GitHub. Instead, we use Magento’s REST API to get the customer’s product data.

What this means for customers is that the number of steps to set up a GoDataFeed Store with an import source type as Magento 2 will be reduced.

1. Log in to your Magento 2 Instance admin panel and go to System:

Magento_1.png

2. Click on Integrations under Extensions:

Magento_2.png

3. Click on “Add New Integration”:

Magento_3.png

4. On Integration Info after entering your admin user password, name this as GoDataFeed_Integration to recognize that this integration is being used for your Magento 2 Store in GoDataFeed:

Magento_4.png

5. Then, under the API side tab, grant GoDataFeed the following permissions:

  • Under Resources grant access to: (make sure a green checkbox is in each box mentioned below)

      a.     Catalog > Inventory

Magento_5.png

      b.     Stores > Settings > All Stores

      c.     Stores > Inventory > Sources

      d.     Stores > Inventory > Stocks

      e.     Stores > Inventory > Sales Stocks

Magento_6.png

  • To save your changes, click “Save & Activate”:

Magento_7.png

  •  Click allow:

Magento_8.png

6. Copy your access token:

Magento_9.png

7. Enable bearer token authentication:

     a) Go to Stores > Configuration

Magento_10.png

     b) Then to Services > OAuth

     c) Allow OAuth Access Tokens to be used as standalone Bearer tokens > Yes

Magento_11.png

8. Obtaining your Store Id:

a)     Click on the Store View you wish to use for the integration.
b)    Copy the store_id value visible in the URL
a.     Example URL: http://www.your_magento_store.com/admin/system_store/editStore/store_id/1/key
b.     In the screenshot below the store_id is 1

Magento_12.png9. In GoDataFeed go to https://app.godatafeed.com/product#/product/sources and set up your Magento 2 Import:
  • Paste your Magento website URL, StoreId, and your access token into GoDataFeed:
Magento_13.png
10. Enable Magento Native REST API:Magento_15.png11. Start importing your product data:Magento_16.png

 

Related to

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.