SH

shopify

Open Source E-commerceBusiness

Shopify Admin API integration for OpenCode - manage products, orders, customers, inventory, collections, and fulfillments

shopify ecommerce products orders customers inventory fulfillment collections

Quick Install

npm install @openpets/shopify
pnpm add @openpets/shopify

Required Environment Variables

  • SHOPIFY_STORE_DOMAIN

    Your Shopify store domain (e.g., your-store.myshopify.com)

  • SHOPIFY_ACCESS_TOKEN

    Admin API access token from your custom app

Example Queries

list all products in my Shopify store
show me recent orders
search for customers by email
get inventory levels
show store info

Usage Scenarios

product management

  1. 1 list all products
  2. 2 get details for a specific product
  3. 3 create a new product
  4. 4 update product status to active

order workflow

  1. 1 list recent orders
  2. 2 get order details
  3. 3 create fulfillment for an order
  4. 4 cancel an order

customer management

  1. 1 list all customers
  2. 2 search for customer by email
  3. 3 get customer order history
  4. 4 update customer tags

inventory workflow

  1. 1 list all locations
  2. 2 get inventory levels
  3. 3 adjust inventory quantity
  4. 4 list products with low stock

analytics workflow

  1. 1 get shop information
  2. 2 get sales analytics for last 30 days
  3. 3 list orders by financial status

Optional Configuration

Variable Description
SHOPIFY_API_VERSION API version to use (default: 2024-10)

Use shopify with Your AI Assistant

This open source plugin works with OpenCode-compatible AI assistants including ChatGPT, Claude, Perplexity, and other LLM-powered coding tools. Install the plugin and start using natural language to interact with shopify.

Works with ChatGPT Works with Claude Works with Perplexity MCP Compatible