Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
40rty-ai avatar

Shopify Admin Address Correction

  • 7 installs
  • 173 repo stars
  • Updated June 26, 2026
  • 40rty-ai/shopify-admin-skills

shopify-admin-address-correction is a Claude Code skill that updates the shipping address on an unfulfilled Shopify order via the Admin API.

About

shopify-admin-address-correction updates the shipping address on an unfulfilled Shopify order without using the admin UI. A support agent runs it when a customer reports a typo or wrong ZIP after ordering. It first checks fulfillment status and aborts if the order is not unfulfilled, then executes an orderUpdate mutation.

  • Updates the shipping address on an unfulfilled Shopify order via the Admin API
  • Aborts if the order is already fulfilled or partially fulfilled
  • Supports dry_run preview before the mutation

Shopify Admin Address Correction by the numbers

  • 7 all-time installs (skills.sh)
  • Ranked #1,587 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Aug 1, 2026 (Skillselion catalog sync)
At a glance

shopify-admin-address-correction capabilities & compatibility

Free; requires an authenticated Shopify session with read_orders and write_orders scopes.

Capabilities
address correction · cancel and restock · automated order tagger
Pricing
Free
From the docs

What shopify-admin-address-correction says it does

Update the shipping address on an unfulfilled order before it ships.
SKILL.md
this skill will abort with an error if the order has already been fulfilled or is partially fulfilled.
SKILL.md
npx skills add https://github.com/40rty-ai/shopify-admin-skills --skill shopify-admin-address-correction

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs7
repo stars173
Last updatedJune 26, 2026
Repository40rty-ai/shopify-admin-skills

What it does

Correct the shipping address on an unfulfilled Shopify order before it ships.

Who is it for?

Support agents fixing a shipping address on an order that has not yet shipped.

Skip if: Editing addresses on partially or fully fulfilled orders, which the skill refuses.

When should I use this skill?

A customer reports a wrong address on an order that has not yet been fulfilled.

What you get

The order's shipping address is updated in Shopify, or the skill aborts if the order is already fulfilled.

  • Updated shipping address on the Shopify order

By the numbers

  • Two-step workflow: order query then orderUpdate mutation

Files

SKILL.mdMarkdownGitHub ↗

Purpose

Corrects a shipping address on an unfulfilled order without navigating the Shopify admin UI. This skill is useful when a customer provides a correction after placing the order — for example, a typo in the street address or a wrong ZIP code. It replaces the manual address editing flow in the Shopify admin by executing the address update directly via the Admin API. The update must be performed before the order is fulfilled; this skill will abort with an error if the order has already been fulfilled or is partially fulfilled. Once fulfillment begins, the Shopify order record cannot be updated through this skill.

Prerequisites

  • Authenticated Shopify CLI session: shopify auth login --store <domain>
  • API scopes: read_orders, write_orders

Parameters

ParameterTypeRequiredDefaultDescription
storestringyesStore domain (e.g., mystore.myshopify.com)
formatstringnohumanOutput format: human or json
dry_runboolnofalsePreview operations without executing mutations
order_idstringyesGID of the order (e.g., gid://shopify/Order/12345)
new_addressobjectyesNew shipping address: address1, address2 (optional), city, province, country, zip, phone (optional), first_name, last_name

Safety

⚠️ Step 2 executes orderUpdate which immediately changes the shipping address on record. If the order is already with a fulfillment partner, notify them separately — this skill updates the Shopify record only. This skill will abort with an error if displayFulfillmentStatus is not UNFULFILLED. Address changes cannot be applied to partially or fully fulfilled orders.

Workflow Steps

1. OPERATION: order — query Inputs: id: <order_id> Expected output: Order name, displayFulfillmentStatus, current shippingAddress; if displayFulfillmentStatus != "UNFULFILLED", abort with message: "Cannot update address: order has already been fulfilled."

2. OPERATION: orderUpdate — mutation Inputs: input.id: <order_id>, input.shippingAddress: <new_address object> Expected output: Updated shippingAddress on the order, userErrors

GraphQL Operations

# order:query — validated against api_version 2025-01
query OrderForAddressCheck($id: ID!) {
  order(id: $id) {
    id
    name
    displayFulfillmentStatus
    shippingAddress {
      address1
      address2
      city
      province
      country
      zip
      phone
      firstName
      lastName
    }
  }
}
# orderUpdate:mutation — validated against api_version 2025-01
mutation OrderUpdate($input: OrderInput!) {
  orderUpdate(input: $input) {
    order {
      id
      shippingAddress {
        address1
        address2
        city
        province
        country
        zip
        phone
      }
    }
    userErrors {
      field
      message
    }
  }
}

Session Tracking

Claude MUST emit the following output at each stage. This is mandatory.

On start, emit:

╔══════════════════════════════════════════════╗
║  SKILL: address-correction                   ║
║  Store: <store domain>                       ║
║  Started: <YYYY-MM-DD HH:MM UTC>             ║
╚══════════════════════════════════════════════╝

After each step, emit:

[N/TOTAL] <QUERY|MUTATION>  <OperationName>
          → Params: <brief summary of key inputs>
          → Result: <count or outcome>

If dry_run: true, prefix every mutation step with [DRY RUN] and do not execute it.

On completion, emit:

For format: human (default):

══════════════════════════════════════════════
OUTCOME SUMMARY
  Order:          <name>
  Address updated: yes
  Errors:          0
  Output:          none
══════════════════════════════════════════════

For format: json, emit:

{
  "skill": "address-correction",
  "store": "<domain>",
  "started_at": "<ISO8601>",
  "completed_at": "<ISO8601>",
  "dry_run": false,
  "steps": [
    { "step": 1, "operation": "OrderForAddressCheck", "type": "query", "params_summary": "order_id: <id>", "result_summary": "UNFULFILLED, address confirmed", "skipped": false },
    { "step": 2, "operation": "OrderUpdate", "type": "mutation", "params_summary": "order_id: <id>, new_address: <summary>", "result_summary": "address updated", "skipped": false }
  ],
  "outcome": {
    "order_name": "<name>",
    "address_updated": true,
    "errors": 0,
    "output_file": null
  }
}

Output Format

No CSV output. The skill reports the updated address in the session completion summary. The new address is shown in the [2/2] step output.

Error Handling

ErrorCauseRecovery
displayFulfillmentStatus != UNFULFILLEDOrder is already fulfilled or partially fulfilledCannot update address; contact the carrier directly
userErrors from orderUpdateInvalid address fields (e.g., invalid country code)Verify ISO country code and province/state format
Order not foundInvalid order GIDUse order-lookup-and-summary skill to find the correct order ID

Best Practices

1. Always run dry_run: true first — Step 1 shows the current address for confirmation before Step 2 commits the change. 2. Country must be the ISO 3166-1 alpha-2 code (e.g., US, CA, GB) — not the full country name. 3. This skill only updates the Shopify order record. If you use a third-party fulfillment provider, also update the address in their system. 4. For phone field, use E.164 format (e.g., +15551234567). 5. After updating, use the order-lookup-and-summary skill to confirm the address change took effect.

Related skills

FAQ

Can I fix the address after the order shipped?

No. The skill aborts with an error if displayFulfillmentStatus is not UNFULFILLED; addresses cannot be changed on partially or fully fulfilled orders.

Does it notify the fulfillment partner?

No. It updates the Shopify record only; if the order is with a fulfillment partner you must notify them separately.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.