refund-and-reorder

Installation
SKILL.md

Purpose

Processes refunds and creates replacement orders without navigating the Shopify admin UI. Replaces manual refund workflows in apps like Gorgias. This skill handles both the refund and the optional replacement draft order in a single workflow.

Prerequisites

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

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 false Preview operations without executing mutations
order_id string yes GID of the order (e.g., gid://shopify/Order/12345)
refund_line_items array no all refundable Array of {line_item_id, quantity} to refund; if omitted, refunds all refundable quantities
reason string no other Refund reason: customer, fraud, inventory, declined, other
create_replacement bool no false If true, create a draft order with the same line items after refund
notify_customer bool no true Send refund notification email to customer
Related skills
Installs
2
GitHub Stars
139
First Seen
Apr 11, 2026