Shopify Admin API

Pro v1.0.0

Manage your Shopify store - products, orders, customers, and inventory through the Admin API

Requires Claude Code CLI

This skill integrates with Shopify through Claude Code. Install Claude Code and add this skill to use it.

Available Actions

List Products

Retrieve a list of products from your Shopify store

Parameters

Name Type Required Description
limit integer Optional Maximum number of products to return

Returns

array List of product objects with ID, title, status, vendor, price, and variants

Try saying...

  • "Show me all products in my Shopify store"
  • "List products with a limit of 20"
  • "What products do I have in stock?"

Get Product

Retrieve detailed information for a specific product by ID

Parameters

Name Type Required Description
product_id string Required The unique identifier for the product

Returns

object Complete product object with all fields

Try saying...

  • "Get details for product ID 1234567890"
  • "Show me the full information for product 1234567890"
  • "What are the variants for product 1234567890?"

Create Product

Create a new product in your Shopify store

Parameters

Name Type Required Description
title string Required The product title
price string Required The product price
description string Optional The product description (HTML)

Returns

object The created product object

Try saying...

  • "Create a new product called 'Blue T-Shirt' priced at $29.99"
  • "Add a product named 'Coffee Mug' for $15.00"
  • "Create a product: Red Sweater, $45, made from wool"

List Orders

Retrieve a list of orders from your Shopify store

Parameters

Name Type Required Description
limit integer Optional Maximum number of orders to return
status string Optional Filter orders by status

Returns

array List of order objects with ID, customer, total, and fulfillment status

Try saying...

  • "Show me all orders"
  • "List the last 10 open orders"
  • "What are my recent orders?"
  • "Show cancelled orders"

Get Order

Retrieve detailed information for a specific order by ID

Parameters

Name Type Required Description
order_id string Required The unique identifier for the order

Returns

object Complete order object with line items, customer, shipping, and payment details

Try saying...

  • "Get details for order ID 9876543210"
  • "Show me order 9876543210"
  • "What items are in order 9876543210?"

List Customers

Retrieve a list of customers from your Shopify store

Parameters

Name Type Required Description
limit integer Optional Maximum number of customers to return

Returns

array List of customer objects with ID, name, email, orders count, and total spent

Try saying...

  • "Show me all customers"
  • "List customers with a limit of 25"
  • "Who are my top customers?"

Get Customer

Retrieve detailed information for a specific customer by ID

Parameters

Name Type Required Description
customer_id string Required The unique identifier for the customer

Returns

object Complete customer object with addresses, orders, and account details

Try saying...

  • "Get details for customer ID 1122334455"
  • "Show me customer 1122334455"
  • "What has customer 1122334455 ordered?"

Get Inventory Levels

Retrieve inventory levels for a specific location

Parameters

Name Type Required Description
location_id string Required The unique identifier for the inventory location

Returns

array List of inventory items with available quantities

Try saying...

  • "Show inventory levels for location 66778899"
  • "What's in stock at location 66778899?"
  • "Check inventory at my main warehouse"

Getting Started

API Key Moderate Setup
  1. 1 Go to Shopify Admin > Settings > Apps and sales channels > Develop apps
  2. 2 Create a new app and give it a name
  3. 3 Configure Admin API scopes (select permissions needed)
  4. 4 Install the app and reveal the access token
  5. 5 Add credentials to shell config: export SHOPIFY_STORE_NAME="your-store" and export SHOPIFY_ACCESS_TOKEN="shpat_xxx"
  6. 6 Restart terminal or source shell config

Verify Setup

curl -X GET https://${SHOPIFY_STORE_NAME}.myshopify.com/admin/api/2026-01/shop.json -H "X-Shopify-Access-Token: ${SHOPIFY_ACCESS_TOKEN}"

Success: Returns shop information JSON

Security & Access

Access Scope

Can read and modify Shopify store data based on configured API scopes (products, orders, customers, inventory, etc.)

  • Access token grants full access to all configured API scopes
  • Never commit access tokens to version control
  • Store credentials in shell config files, not in project files
  • Only request minimum required scopes for your use case
  • Access token is only shown once when created - save it immediately
  • Rotate tokens periodically by uninstalling and reinstalling the custom app

Limitations

  • REST API is considered legacy as of October 2024 (GraphQL is preferred for new apps)
  • Each API version is supported for minimum 12 months
  • Some advanced features may only be available in GraphQL API
  • Trial and Partner development stores limited to 5 orders per minute creation

Get This Skill

Requires Pro subscription ($9/month)

Quick Reference

Type
REST API
Auth
API Key
Setup
Moderate Setup
Tools Required
Bash
Python Dependencies
requests>=2.28.0

Have Feedback?

Help us improve this skill by sharing your ideas and suggestions.

Request Improvements