{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Shopify Import Integration","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"shopify-import-integration","__idx":0},"children":["Shopify Import Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Shopify用のデータコネクタを使用して、ShopifyからTreasure Dataへ直接データをインポートできます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Shopifyからデータをインポートする方法のサンプルワークフローについては、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/treasure-data/treasure-boxes/tree/master/td_load/shopify"},"children":["Treasure Boxes"]},"をご覧ください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure Dataの基本的な知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Shopifyの基本的な知識"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"shopify認証情報の取得","__idx":2},"children":["Shopify認証情報の取得"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Shopify認証情報を取得するには、以下の手順を実行してください:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.shopify.com/"},"children":["https://www.shopify.com/"]},"でサインアップし、ユーザー用のオンラインストアを作成します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ユーザーに関する詳細を入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ビジネスに関する追加の詳細を入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["カスタムアプリを作成します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ユーザーはAPI認証情報を確認し、保存して、さまざまな外部アプリケーションと接続することができます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"store_name設定","__idx":3},"children":["store_name設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ShopifyはユーザーのStore NameをURL対応の値に変換します。たとえば、特殊文字を切り捨て、スペースをハイフンに置き換えます。"," ","例: Example Shop-123-!#$ は example-shop-123 になります:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2020-11-25_15-46-9.d1e34300a2d3e085fefa41de5061a2e81285047e5198c98de794acb5688e8c16.240488a1.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["変換された値を使用する必要があります(サインイン後のAdmin URL内):"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2020-11-25_15-46-24.08a7272ce0f78946bc7208605de1c17931086d9605d15bbdb37983c9b7d37583.240488a1.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソールを使用した接続の作成","__idx":4},"children":["Treasure コンソールを使用した接続の作成"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"新しい接続の作成","__idx":5},"children":["新しい接続の作成"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Catalog"]},"に移動し、Shopifyを検索して選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]},"を選択します。認証された接続を作成しています。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2019-11-16-at-12.07.39-pm.7c1a081729fee61cce5cc8cdf5fe521d5c42d1490460835098864cde6d8e687b.240488a1.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次のダイアログが開きます。Password値については、Shopifyコンソールの",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Admin API access token"]},"を確認してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2019-11-16-at-12.08.47-pm.877d111a8b97ca07e802e9f170ecebf2d666925250978ae96e584023d794ce72.240488a1.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["必須フィールドを入力し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しいShopify接続に名前を付けます。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]},"を選択します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"treasure-dataへのデータ転送","__idx":6},"children":["Treasure Dataへのデータ転送"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["認証された接続を作成すると、自動的にAuthenticationsタブに移動します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20200708-201126.0e761577b758dca083f31b4ef278b6ae53e731f6aee6178e63c796e59c5daed2.240488a1.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["作成した接続を探し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Source"]},"を選択します。以下のフィールドを編集します。"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"フィールド"},"children":["フィールド"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Source"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Shopifyから転送するオブジェクトのタイプ(products、customers、transactions、orders、inventory、metafieldsなど)。以下のリストでサポートされている要素を確認できます:   - Objects    - inventory level   - inventory_items   - location - Order status    - open   - closed   - canceled   - any - Metafields resource    - product   - customer   - order   - online_store   - shop - Product resource objects    - product   - product_variant   - product_image   - collection - Order resource objects    - order   - draft_order - Online_store resource objects    - blog   - article   - page"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Incremental"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Treasure Dataにデータを増分的にロードします。この選択により、Incremental field",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["が有効になります。"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Incremental field"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オブジェクトのソートに使用されるデータフィールド。created_atとupdated_atの2つのオプションがあります。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["メタデータオブジェクトのソートに使用されるデータフィールド。created_atとupdated_atの2つのオプションがあります。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start date"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["'start_date'を定義することで、'start_date'以降に作成または更新されたオブジェクトのみを選択できます。このフィールドはIncremental fieldに依存します。incrementalがfalseに設定されている場合、products、customers、transactions、ordersオブジェクトからインポートする際に、created_atがStart dateのターゲットとして扱われます"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use precise 'End date'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End date"]},"を指定するか、空白のままにします。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Number of days to fetch"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["'start_date'から何日分のデータを取得するかを指定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End date"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オブジェクトが更新された日付を指定します:   - ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End date"]},"が指定されていない場合、現在までのすべてのオブジェクトが取得されます。 - ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start time"]},"と",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End time"]},"を組み合わせて、'start_date'から'end_date'までの特定の期間を指定できます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Inventory Item IDs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["inventory_idsのリスト。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Location IDs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["location_idsのリスト。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Updated at"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["指定された時刻から現在まで、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["inventory_level"]},"オブジェクトがupdated_atされた時刻。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Fetch all customer's metafields"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["すべての顧客のmetafieldsをダウンロード"]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データをプレビューします。変更するには、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Advanced Settings"]},"を選択します。そうでない場合は",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2019-11-16-at-12.16.12-pm.5709abe26d10772f4a5b5927db3545e6103b799745be13e8ea82bdb5f38fd6e3.240488a1.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データを転送するデータベースとテーブルを選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2019-11-16-at-12.19.27-pm.85d36ab90c39a1e285d5642d19a46653bb157a8f655ac300feb5ee48b31c7f3c.240488a1.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["次のダイアログを使用してデータ転送のスケジュールを指定し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2019-11-16-at-12.21.49-pm.f8cbc1b5834f02af93857afd3f49fceed03578c63c990da41cf75673b087869b.240488a1.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ソースに名前を付けて、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2019-11-16-at-12.23.03-pm.4852f8b98949f26e9a59d74e24d1991e9aacb713db39db14e87ac25e14e72018.240488a1.png","alt":""},"children":[]}]}]},"headings":[{"value":"Shopify Import Integration","id":"shopify-import-integration","depth":1},{"value":"前提条件","id":"前提条件","depth":1},{"value":"Shopify認証情報の取得","id":"shopify認証情報の取得","depth":2},{"value":"store_name設定","id":"store_name設定","depth":2},{"value":"Treasure コンソールを使用した接続の作成","id":"treasure-コンソールを使用した接続の作成","depth":2},{"value":"新しい接続の作成","id":"新しい接続の作成","depth":3},{"value":"Treasure Dataへのデータ転送","id":"treasure-dataへのデータ転送","depth":3}],"frontmatter":{"seo":{"title":"Shopify Import Integration"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/shopify-import-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}