Shopify 接口调用
原名:shopify
Query Shopify Admin/Storefront GraphQL APIs via curl.
- 分类
- 开发提效
- 版本
- v1.0.0
- 作者
- 弈韬(@ra1nzzz)
- 下载
- 2
- 收藏
- 0
- 发布
- 2026-08-25
- 更新
- 2026-09-17
- TRACE 评分
- 2.6 / 5
内容概览
Work with Shopify stores directly through curl: list products, manage inventory, pull orders, update customers, read metafields. No SDK, no app framework — just the GraphQL endpoint and a custom-app access token. The REST Admin API is legacy since 2024-04 and only receives security fixes. Use GraphQL Admin for all admin work. Use Storefront GraphQL for read-only customer-facing queries (products, collections, cart). 1. In Shopify admin: Settings → Apps and sales channels → Develop apps → Create an app . 2. Click Configure Admin API scopes , select what you need (examples below), save. 3. Install app → the Admin API access token appears ONCE. Copy it immediately — Shopify will never show it again. Tokens start with shpat . 4. Save to ${HERMES HOME:- /.hermes}/.env: Heads up: As of January 1, 2026, new "legacy custom apps" created in the Shopify admin are gone. New setups should use the De…