接続情報 - Shopify

Prev Next
This content is currently unavailable in Korean. You are viewing the default (Ja - 日本語) version.

本ページでは、Shopifyに接続するための設定(接続情報)について説明します。
転送に関する設定については、転送元 - Shopifyを参照ください。

Shopify側で必要な作業

APIアクセストークンの取得

Shopify側でカスタムアプリを作成する必要があります。
以下でカスタムアプリの作成手順を説明します。

  1. Shopifyの管理画面にログインします。

  2. アプリ > アプリと販売チャネルの設定をクリックします。
    connection-configuration-shopify-graphql-2025-05-16-16-30-1.png

  3. アプリを開発をクリックします。
    なお、本画面上にドメイン名が表示されているので、メモしてください。
    ドメイン名は接続情報を作成する際に必要となります。
    connection-configuration-shopify-graphql-2025-05-16-16-30-2.png

「アプリを開発」ボタンが表示されない場合

アプリを開発する権限を持っていない場合、ボタンが表示されません。
アプリ開発の権限を持っているユーザーアカウントを利用するか、Shopifyアカウントを管理するユーザーに権限の付与を依頼してください。
アプリ開発の権限について、詳しくはShopify公式ドキュメント - カスタムアプリのAPIスコープ権限を参照ください。

  1. アプリを作成をクリックし、アプリを作成します。
    connection-configuration-shopify-graphql-2025-05-16-16-30-3.png

  2. Admin APIスコープを設定するをクリックし、必要となるスコープを追加して保存します。
    ターゲットごとに必要となるスコープは異なります。詳しくは、後述のスコープの付与を参照ください。

  3. アプリをインストールをクリックし、アプリをインストールします。
    connection-configuration-shopify-graphql-2025-05-16-16-30-4.png

  4. Admin APIのアクセストークンをメモします。
    connection-configuration-shopify-graphql-2025-05-16-16-30-5.png

スコープの付与

ターゲットごとに必要となるスコープは異なります。

取得対象 必要となるスコープ 補足
abandoned_checkouts read_orders
collections read_products, read_publications, read_product_listings
customers read_customers, read_orders
disputes read_shopify_payments_disputes
draft_orders read_draft_orders, read_payment_terms, read_customers, read_orders
fulfillment_line_items read_orders
fulfillment_orders read_assigned_fulfillment_orders
fulfillments read_orders
inventory_item_country_harmonized_system_codes read_inventory
inventory_items read_inventory, read_products
locations read_locations
metafields read_orders, read_products, read_customers
order_agreements read_orders
order_line_items read_orders, read_products
order_refunds read_orders
order_risks read_orders
order_transactions read_orders
orders read_orders, read_customers, read_locations, read_payment_terms, read_shopify_payments_accounts StaffMemberidを取得データに含める場合は、以下の条件を両方満たす必要があります。
  • read_usersスコープの付与
  • Advancedプラン以上の契約
product_variants read_products, read_shipping, read_locations
products read_products, read_publications, read_product_listings
refund_line_items read_orders