Files
marketingskills/tools/integrations/shopify.md
T
Corey Haines 83150fdc08 feat: rename 15 skills for shorter, cleaner names
Renames:
- ab-test-setup → ab-testing
- analytics-tracking → analytics
- competitor-alternatives → competitors
- email-sequence → emails
- free-tool-strategy → free-tools
- launch-strategy → launch
- onboarding-cro → onboarding
- paywall-upgrade-cro → paywalls
- popup-cro → popups
- pricing-strategy → pricing
- product-marketing-context → product-marketing
- referral-program → referrals
- schema-markup → schema
- signup-flow-cro → signup
- social-content → social

Updates all cross-references in skills, references, tools,
marketplace.json, README, AGENTS.md, and CONTRIBUTING.md.

BREAKING: Users with installed skills will need to reinstall.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 16:21:22 -07:00

177 lines
3.0 KiB
Markdown

# Shopify
E-commerce platform for online stores and retail.
## Capabilities
| Integration | Available | Notes |
|-------------|-----------|-------|
| API | ✓ | REST Admin API, Storefront API, GraphQL |
| MCP | - | Not available |
| CLI | ✓ | Shopify CLI for themes and apps |
| SDK | ✓ | Official libraries for multiple languages |
## Authentication
- **Type**: Access Token (Custom App or OAuth)
- **Header**: `X-Shopify-Access-Token: {access_token}`
- **Base URL**: `https://{shop}.myshopify.com/admin/api/2024-01/`
## Common Agent Operations
### Get shop info
```bash
GET https://{shop}.myshopify.com/admin/api/2024-01/shop.json
X-Shopify-Access-Token: {access_token}
```
### List products
```bash
GET https://{shop}.myshopify.com/admin/api/2024-01/products.json?limit=50
X-Shopify-Access-Token: {access_token}
```
### Get product
```bash
GET https://{shop}.myshopify.com/admin/api/2024-01/products/{product_id}.json
X-Shopify-Access-Token: {access_token}
```
### Create product
```bash
POST https://{shop}.myshopify.com/admin/api/2024-01/products.json
X-Shopify-Access-Token: {access_token}
{
"product": {
"title": "Product Name",
"body_html": "<p>Description</p>",
"vendor": "Brand",
"product_type": "Category",
"variants": [{
"price": "99.00",
"sku": "SKU-001"
}]
}
}
```
### List orders
```bash
GET https://{shop}.myshopify.com/admin/api/2024-01/orders.json?status=any&limit=50
X-Shopify-Access-Token: {access_token}
```
### Get order
```bash
GET https://{shop}.myshopify.com/admin/api/2024-01/orders/{order_id}.json
X-Shopify-Access-Token: {access_token}
```
### List customers
```bash
GET https://{shop}.myshopify.com/admin/api/2024-01/customers.json?limit=50
X-Shopify-Access-Token: {access_token}
```
### Search customers
```bash
GET https://{shop}.myshopify.com/admin/api/2024-01/customers/search.json?query=email:user@example.com
X-Shopify-Access-Token: {access_token}
```
### Get analytics
```bash
GET https://{shop}.myshopify.com/admin/api/2024-01/reports.json
X-Shopify-Access-Token: {access_token}
```
## GraphQL API
```graphql
{
products(first: 10) {
edges {
node {
id
title
totalInventory
priceRangeV2 {
minVariantPrice {
amount
}
}
}
}
}
}
```
## CLI Commands
```bash
# Login
shopify login --store={shop}
# Create theme
shopify theme init
# Push theme
shopify theme push
# Preview theme
shopify theme dev
# Create app
shopify app create node
```
## Webhook Topics
| Topic | When |
|-------|------|
| `orders/create` | New order |
| `orders/paid` | Order paid |
| `orders/fulfilled` | Order shipped |
| `customers/create` | New customer |
| `products/update` | Product changed |
| `checkouts/create` | Checkout started |
## When to Use
- E-commerce store management
- Product catalog operations
- Order processing
- Customer data management
- Inventory tracking
## Rate Limits
- REST: 2 requests/second
- GraphQL: 50 points/second
- Bulk operations available
## Relevant Skills
- analytics
- emails
- referrals