- Home
- Skills
- E-commerce
- Shopify Store API Skill Pro
Works with the AI Agents you already use
Shopify Store API Skill Pro
Generate secure, verified curl templates for Shopify Admin API product, inventory, and order management.
$5
Shopify Store API Skill Pro
Example session with this skill installed
Generate curl templates to check the inventory for product ID 987654 and then update the quantity to 50 for location 112233. Use environment variables for safety.
- Read your context and instructions
- Compiled the shopify store api
I have prepared the requested templates for managing inventory on product 987654. These commands assume you have exported SHOPIFY_ACCESS_TOKEN and SHOPIFY_STORE_DOMAIN in your current shell session.
1. Task and Access Requirements
The task is to verify and update inventory levels for a specific product and location. This requires read_inventory and write_inventory scopes.
2. Official Endpoint and API-Version Check
The operation targets the inventory_levels endpoint. Recommended version: 2024-01.
Method: POST /admin/api/2024-01/inventory_levels/set.json.
3. Read-Only Inspection Command
Run this first to see the current inventory level and ensure the location ID is correct:
curl --fail-with-body --silent --show-error \
-X GET "https://${SHOPIFY_STORE_DOMAIN}/admin/api/2024-01/inventory_levels.json?inventory_item_ids=987654" \
-H "X-Shopify-Access-Token: ${SHOPIFY_ACCESS_TOKEN}"
4. Proposed Write Command
Use the set endpoint to adjust the level to exactly 50.
curl --fail-with-body --silent --show-error \
-X POST "https://${SHOPIFY_STORE_DOMAIN}/admin/api/2024-01/inventory_levels/set.json" \
-H "X-Shopify-Access-Token: ${SHOPIFY_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"location_id": 112233,
"inventory_item_id": 987654,
"available": 50
}'
5. Verification, Errors, and Safety
After running the POST request, verify the available field in the JSON response matches 50. If you receive a 429 Too Many Requests, wait for the time specified in the Retry-After header.
6. Result Summary and Next Steps
The templates are ready. Ensure your location_id is an exact match for the target warehouse before execution.
Next steps
- Verify
SHOPIFY_ACCESS_TOKENis set. - Run the inspection command to confirm the item exists at location
112233. - Execute the write command and log the response ID for your records.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing a Shopify store via the API often leads to accidental data overwrites or security leaks when developers copy-paste credentials into shell history. This skill provides a structured framework for generating safe, least-privilege curl templates for store operations. It enforces a read-before-write workflow to ensure you never update the wrong resource or overwrite unrelated fields.
What it does
- Product Management generates templates for inspecting and updating specific product fields like titles or descriptions without affecting other metadata.
- Inventory Control produces commands for checking stock levels and applying quantity adjustments at specific location IDs.
- Order Retrieval creates filtered queries for recent orders using defined time windows and minimal required fields to protect privacy.
- Customer Updates builds scoped requests for modifying customer records based on precise IDs.
- Security Scaffolding formats all commands to use environment variables like
SHOPIFY_ACCESS_TOKENinstead of literal strings.
How it works
- Identify the resource by specifying the target (product, order, or customer) and the required operation.
- Generate inspection commands to fetch the current state of the resource before any modification.
- Review the write template which includes the specific payload and required API scopes.
- Execute and verify by following the provided read-after-write command to confirm the change was successful.
Frameworks & tools
Shopify Admin API (REST), curl, and standard shell environment variables.
Why this beats prompting it yourself
Generic prompts often return commands with hardcoded tokens or missing headers that trigger rate limits. This skill enforces strict security hygiene and a verification loop that prevents common REST API mistakes like non-idempotent retries or partial data loss.
Use cases
- Safely updating product titles or prices across specific IDs.
- Adjusting inventory levels for a SKU at a specific warehouse location.
- Exporting recent order data for a specific time range to a local file.
- Correcting customer contact information via the Admin API.
Known limitations
Does not execute commands directly. Requires an existing Shopify store with Admin API access and configured environment variables. GraphQL operations are not the primary focus.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for E-commerce.
Templates only; no direct execution. Requires pre-configured API credentials and store domain. Focuses on REST Admin API.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 18 days ago