Shopify
Connect to Shopify Admin GraphQL to read and manage store catalog data.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
| API Access Token | api_key | available | — |
| OAuth 2.0 (Client Credentials) | oauth2 | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "SHOPIFY_GRAPHQL_EXECUTE", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("SHOPIFY_GRAPHQL_EXECUTE", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute SHOPIFY_GRAPHQL_EXECUTE --data '{ }'Tool 目录
可用 Tools
10 个可调用操作
Run Shopify GraphQL query or mutationSHOPIFY_GRAPHQL_EXECUTEExecutes an arbitrary GraphQL query or mutation against Shopify's API using the connected account. Use this escape hatch when reviewed tools do not cover the needed operation.需要连接
Executes an arbitrary GraphQL query or mutation against Shopify's API using the connected account. Use this escape hatch when reviewed tools do not cover the needed operation.
认证
需要 Connected AccountTags
Check Shopify Admin GraphQL endpointSHOPIFY_GRAPHQL_HEALTHChecks that the connected Shopify Admin GraphQL endpoint is reachable.需要连接1 scope
Checks that the connected Shopify Admin GraphQL endpoint is reachable.
认证
需要 Connected AccountScopes
read_productsTags
Get a Shopify product by handleSHOPIFY_PRODUCT_BY_HANDLEReturns a Shopify product by its storefront handle.需要连接1 scope
Returns a Shopify product by its storefront handle.
认证
需要 Connected AccountScopes
read_productsTags
Change Shopify product statusSHOPIFY_PRODUCT_CHANGE_STATUSChanges the publication status of a Shopify product.需要连接1 scope
Changes the publication status of a Shopify product.
认证
需要 Connected AccountScopes
write_productsTags
Create a Shopify productSHOPIFY_PRODUCT_CREATECreates a product in Shopify and returns validation errors from the provider.需要连接1 scope
Creates a product in Shopify and returns validation errors from the provider.
认证
需要 Connected AccountScopes
write_productsTags
Get a Shopify productSHOPIFY_PRODUCT_GETReturns a Shopify product by its global ID, including its first 50 variants.需要连接1 scope
Returns a Shopify product by its global ID, including its first 50 variants.
认证
需要 Connected AccountScopes
read_productsTags
Update a Shopify productSHOPIFY_PRODUCT_UPDATEUpdates a product in Shopify and returns validation errors from the provider.需要连接1 scope
Updates a product in Shopify and returns validation errors from the provider.
认证
需要 Connected AccountScopes
write_productsTags
Count Shopify productsSHOPIFY_PRODUCTS_COUNTReturns the number of products matching an optional Shopify search query.需要连接1 scope
Returns the number of products matching an optional Shopify search query.
认证
需要 Connected AccountScopes
read_productsTags
List Shopify productsSHOPIFY_PRODUCTS_LISTLists products in the connected Shopify shop with cursor pagination and optional search filters.需要连接1 scope
Lists products in the connected Shopify shop with cursor pagination and optional search filters.
认证
需要 Connected AccountScopes
read_productsTags
Get Shopify shop detailsSHOPIFY_SHOP_GETReturns basic identity and locale metadata for the connected Shopify shop.需要连接1 scope
Returns basic identity and locale metadata for the connected Shopify shop.
认证
需要 Connected AccountScopes
read_productsTags