Skip to content

Shopify

E-commerce platform for online stores and retail.

Capabilities

IntegrationAvailableNotes
APIREST Admin API, Storefront API, GraphQL
MCP-Not available
CLIShopify CLI for themes and apps
SDKOfficial 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

TopicWhen
orders/createNew order
orders/paidOrder paid
orders/fulfilledOrder shipped
customers/createNew customer
products/updateProduct changed
checkouts/createCheckout 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-tracking
  • email-sequence
  • referral-program

Released under the MIT License.