MetorialDocs

Set up Shopify in Metorial for Claude, ChatGPT and Cursor

Share Shopify with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or access token sign-in, 20 tools (8 read-only).

To give your team Shopify in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Shopify integration in a Metorial portal, and each person signs in to Shopify with their own account. Agents can manage e-commerce stores including products, orders, customers, inventory, and fulfillment. The integration has 20 tools, 8 read-only, 11 write and 1 destructive, plus 5 triggers.

What you'll learn

  • How an admin shares Shopify in a portal and how each person connects
  • The 22 OAuth scopes Shopify can request, and what each one allows
  • How to keep the 8 read-only tools and reject the other 12

Before you start

Sign-in methods

MethodTypeWhat a person provides
Shopify OAuth (default)OAuthSigns in to Shopify after entering shopDomain
Access TokenAPI tokentoken

The portal and metorial setup use Shopify OAuth unless someone picks another method.

Shopify OAuth

Before the sign-in, setup asks for:

  • shopDomain: Shop subdomain (e.g., "my-store" from "my-store.myshopify.com")

People sign in to Shopify and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
read_productsRead ProductsView products, variants, and collections
write_productsWrite ProductsCreate and modify products, variants, and collections
read_ordersRead OrdersView orders, transactions, and fulfillments
write_ordersWrite OrdersCreate and modify orders
read_all_ordersRead All OrdersView all orders (not limited to last 60 days)
read_customersRead CustomersView customer records and groups
write_customersWrite CustomersCreate and modify customer records
read_inventoryRead InventoryView inventory levels and locations
write_inventoryWrite InventoryModify inventory levels
read_fulfillmentsRead FulfillmentsView fulfillment details
write_fulfillmentsWrite FulfillmentsCreate and update fulfillments
read_draft_ordersRead Draft OrdersView draft orders
write_draft_ordersWrite Draft OrdersCreate and modify draft orders
read_contentRead ContentView pages, blogs, and articles
write_contentWrite ContentCreate and modify pages, blogs, and articles
read_shippingRead ShippingView shipping rates and zones
write_shippingWrite ShippingManage shipping rates and zones
read_discountsRead DiscountsView discount codes and price rules
write_discountsWrite DiscountsCreate and modify discount codes and price rules
read_locationsRead LocationsView store locations
read_themesRead ThemesView themes
write_themesWrite ThemesCreate and modify themes

Access Token

To connect, a person enters:

  • token: Shopify Admin API access token (from custom app or manual setup)

Setup settings

Whichever method you pick, setup also asks for:

  • shopDomain: The shop subdomain (e.g., "my-store" from "my-store.myshopify.com")
  • apiVersion (optional): Shopify API version (e.g., "2026-01")

Use your own Shopify OAuth app

With your own OAuth app, people see your company's name on the Shopify consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Shopify and copy the Redirect URI.

Register the app with Shopify

Create an OAuth app or client in Shopify and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Shopify integration.

Admin: share Shopify in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Shopify. Under Auth Method, keep Shopify OAuth or pick another. For how members connect, choose Each person connects, so everyone signs in to Shopify as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Shopify.

Choose who gets it

Add the access groups that should see Shopify. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Shopify integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search shopify

Employee: connect Shopify

In the portal

Open Shopify in the catalog

Sign in to your portal and open Shopify. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Shopify sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search shopify
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses Shopify OAuth. To connect with Access Token instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Shopify connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list shopify
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 8 read-only tools, such as get_shop and get_order, and lose the 11 write tools, such as manage_order or create_product, and the destructive tool delete_product.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list shopify
metorial tools <integration-id>
metorial call <integration-id> list_locations -d '{}'

metorial tools lists the 20 tools, minus any you rejected. list_locations takes no input. It lists all store locations.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (8)

  • get_product: Retrieve a single product by ID with all details including variants, images, and options. Needs productId.
  • get_order: Retrieve full details of a single order including line items, shipping address, billing address, customer info, transactions, fulfillments, and discount information. Needs orderId.
  • list_orders: Search and list orders from the Shopify store.
  • get_customer: Retrieve full details of a single customer including addresses, order history summary, and marketing consent status. Needs customerId.
  • list_products: Search and list products from the Shopify store.
  • list_locations: List all store locations.
  • get_shop: Retrieve the store's details including name, domain, email, currency, timezone, and plan information.
  • list_customers: List or search customers in the Shopify store.

Write tools (11)

  • create_customer: Create a new customer record in the Shopify store.
  • create_fulfillment: Create a fulfillment for an order. Needs orderId and lineItemsByFulfillmentOrder.
  • manage_variants: Create, update, or delete product variants. Needs action and productId.
  • create_product: Create a new product in the Shopify store. Needs title.
  • update_customer: Update an existing customer's information including name, email, phone, tags, note, and tax exemption status. Needs customerId.
  • manage_collections: List, create, update, or delete product collections. Needs action.
  • manage_order: Perform lifecycle actions on an order. Needs orderId and action.
  • manage_discounts: Create and manage discount codes and price rules. Needs action.
  • update_product: Update an existing product's details including title, description, vendor, type, tags, status, and images. Needs productId.
  • manage_inventory: View and adjust inventory levels across locations. Needs action.
  • manage_draft_orders: Create, list, update, complete, or delete draft orders. Needs action.

Destructive tools (1)

  • delete_product: Permanently delete a product and all its variants from the Shopify store. Needs productId.

Triggers

Shopify has 5 triggers, which fire on events in Shopify:

  • fulfillment_events: Triggers when fulfillments are created or updated on orders.
  • product_events: Triggers when products are created, updated, or deleted in the Shopify store.
  • inventory_events: Triggers when inventory levels are updated at any location.
  • order_events: Triggers when orders are created, updated, cancelled, fulfilled, paid, or partially fulfilled in the Shopify store.
  • customer_events: Triggers when customers are created, updated, deleted, enabled, or disabled in the Shopify store.

Next steps