Shopify


Shopify


セットアップガイド

以下の手順で、Shopify をCData Connect アカウントに接続します。

  1. CData Connect のダッシュボードからConnections ページを開きます。

  2. 右上の+ Add Connection をクリックします。

  3. 検索フィールドに Shopify と入力し、データソース名をクリックします。

  4. 新しいコネクションのBasic Settings タブで、コネクション名を入力するかデフォルトの名前をそのまま使用します。

  5. Enter the the full URL of your shop into the Shop URL field (for example, https://yourshopname.myshopify.com).

  6. Select the Authentication method, then proceed to the relevant section and follow those instructions.

Authentication Methods

OAuth

Note:

  • You can only use OAuth if you have a Partner app published on the Shopify store.
  • The Partner app must have https://oauth.cdata.com/oauth/ registered as a redirect URI.
  • If you do not have a Partner app, you must create a custom app and authenticate with an access token.

Follow these steps in CData Connect:

  1. In OAuthClientId, enter the Client Id from your Partner app.

  2. In OAuthClientSecret, enter your Client Secret from your Partner app.

  3. Choose REST or SOAP from the Schema drop down.

  4. OAuth でセキュアに接続するには、Sign in をクリックします。これにより、Shopify のサインインページが新しいタブで開かれます。

  5. Shopify アカウントにログインし、リクエストされた権限を設定します(該当する場合)。

  6. CData Connect Add Shopify Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、接続が作成されたことを示すメッセージが表示されます。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。そして、もう一度試してください。

Access Token

For authentication with an access token, follow the steps below to create a custom app:

  1. In a separate browser window, log in to your Shopify account and open the Apps page.

  2. Select Develop apps and then Create an app.

  3. Enter the App name and select the App developer, then click Create app.

  4. In the new app, click Configure Admin API scopes. Enable the following permissions:

    read_customers write_customers read_draft_orders write_draft_orders
    read_fulfillments write_fulfillments read_inventory write_inventory
    read_marketing_events write_marketing_events read_orders write_orders
    read_price_rules write_price_rules read_product_listings write_product_listings
    read_products write_products read_shopify_payments_payouts  
  5. Click Save to save the permission settings.

  6. Select the API Credentials tab. Click Install app, then Install on the confirmation prompt.

  7. Click Reveal token once and copy down the value. This acts as your access token for authentication.

  8. Return to CData Connect.

  9. In Access Token, enter your access token.

  10. Choose REST or SOAP from the Schema drop down.

  11. CData Connect Add Shopify Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、接続が作成されたことを示すメッセージが表示されます。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。そして、もう一度試してください。

詳細について

CData Connect とShopify の連携の詳細動作については、こちらのページを参照してください。