Shopify Admin Restock on Return
For approved/closed returns, restocks inventory at the return location by adjusting on-hand quantities for each returned line item.
Install
/plugin marketplace add 40RTY-ai/shopify-admin-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-restock-on-returngit clone --depth 1 https://github.com/40RTY-ai/shopify-admin-skills.git /tmp/shopify-admin-skills
mkdir -p ~/.claude/skills
cp -r /tmp/shopify-admin-skills/skills/returns/shopify-admin-restock-on-return ~/.claude/skills/shopify-admin-restock-on-returnPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
## Purpose Walks through recently approved or closed returns and restocks inventory for each `returnLineItem` whose physical item has been received and inspected. Adjusts the `available` quantity at the return's destination location using `inventoryAdjustQuantities` with reason `restock` and a `referenceDocumentUri` linking to the return record. Use when warehouse processing posts in a separate system from Shopify, or when manual restock has been deferred and needs a clean catch-up run. ## Prerequisites - Authenticated Shopify CLI session: `shopify store auth --store <domain> --scopes read_returns,write_inventory,read_locations` - API scopes: `read_returns`, `read_inventory`, `write_inventory` ## Parameters | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | store | string | yes | — | Store domain (e.g., mystore.myshopify.com) | | format | string | no | human | Output format: `human` or `json` | | dry_run | bool | no | true | Preview restock plan without executing inventory mutations | | days_back | integer | no | 14 | Lookback window for recently completed returns | | return_status | string | no | CLOSED | Only restock returns in this status: `CLOSED`, `OPEN`, or `ANY` | | location_id | string | no | — | If set, restock only returns whose inventory destination matches this location GID |
Details
- Skill name
shopify-admin-restock-on-return- Repository
- 40RTY-ai/shopify-admin-skills
- Path
skills/returns/shopify-admin-restock-on-return/SKILL.md- License
- MIT
- Repo updated
- 26 October 2026
FAQ
What does the Shopify Admin Restock on Return skill do?
For approved/closed returns, restocks inventory at the return location by adjusting on-hand quantities for each returned line item.
How do I install the Shopify Admin Restock on Return skill?
Claude Code plugin: /plugin marketplace add 40RTY-ai/shopify-admin-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Shopify Admin Restock on Return popular?
It lives in 40RTY-ai/shopify-admin-skills, which has 204 GitHub stars and 23 forks.
Related skills
Shopify Admin Abandoned Cart Recovery
20440RTY-ai/shopify-admin-skills
Query checkouts abandoned in the last N days, generate unique discount codes per customer, and tag them for re-engagement.
Shopify Admin Address Correction
20440RTY-ai/shopify-admin-skills
Update the shipping address on an unfulfilled order before it ships.
Shopify Admin Agentic Crawler Access
20440RTY-ai/shopify-admin-skills
Edit the theme's robots.txt.liquid to explicitly allow AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended, OAI-SearchBot, Amazonbot) so AI assistants are permitted to read the catalog.
Shopify Admin Return Cost Attribution
20440RTY-ai/shopify-admin-skills
Read-only: calculates the true cost of returns by reason and product — refund dollars, restocking impact, shipping cost lost, and COGS impact for items written off.
Shopify Admin Repeat Purchase Rate
20440RTY-ai/shopify-admin-skills
Read-only: calculates what percentage of customers place 2+ orders within N days, segmented by product or collection.
Shopify Admin Return Fraud Detector
20440RTY-ai/shopify-admin-skills
Read-only: identifies customers with abnormal return behavior — high return rate, wardrobing patterns, or serial returner profiles — for manual review.
Browse the most popular Claude skills, all marketing, sales & business skills, or write your own with the skills generator.