Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Shopify Store API Skill Pro

    1

    Generate secure, verified curl templates for Shopify Admin API product, inventory, and order management.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Shopify Store API Skill Pro

    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_TOKEN is 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_TOKEN instead of literal strings.

    How it works

    1. Identify the resource by specifying the target (product, order, or customer) and the required operation.
    2. Generate inspection commands to fetch the current state of the resource before any modification.
    3. Review the write template which includes the specific payload and required API scopes.
    4. 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.

    Templates only; no direct execution. Requires pre-configured API credentials and store domain. Focuses on REST Admin API.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    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

    Permissions

    Network Access
    Listed18 days ago

    What's inside

    Frequently Asked Questions

    This skill generates secure, scoped curl templates for Shopify Admin API tasks, preventing common errors like accidental data overwrites and security leaks from hardcoded credentials in command history.

    No, for security reasons this skill does not execute commands; it provides the precise code templates and environment variable structures you need to run safely in your own terminal.

    The skill supports core Admin API operations including product metadata updates, inventory adjustments across specific locations, order exports, and customer record management.

    You will need an active Shopify store, a custom app with Admin API access, and a local shell environment where you can set environment variables like SHOPIFY_ACCESS_TOKEN.

    Yes, every modification workflow includes a mandatory 'read-before-write' step and a post-execution verification command to ensure your changes were applied correctly.

    This skill is optimized for the Shopify REST Admin API, providing structured payloads that are often easier to debug and audit in shell scripts than complex GraphQL mutations.

    New in E-commerce