---
title: "Cancel an unshipped Shopify order with an AI agent"
description: "Richpanel's AI agent can cancel a Shopify order that has not shipped, with a reason, and refund the payment only when your policy says so. It checks fulfillment first, offers a hold or a swap, and hands shipped orders to your team. Triggers, checks, permissions and integrations."
url: https://www.richpanel.com/learn/ai-actions-cancel-order
datePublished: 2026-09-24
dateModified: 2026-09-24
author: "Amit RG"
source: richpanel.com
---

# Cancel an unshipped order with an *AI agent*

The AI checks whether the order has shipped, then cancels it in Shopify. The refund on that cancel follows your policy and your approval setting.

## Can Richpanel's AI agent cancel an order?

#### The short answer

Yes, before it ships. Richpanel's AI agent can cancel a Shopify order that is still unfulfilled, when your policy covers it. It records the reason, notifies the customer, and refunds the payment only if your policy says to. A fulfilled order cannot be cancelled, so those go to your return policy or your team.

## What starts a *cancellation*

| The customer says | What the AI can do |
| --- | --- |
| Cancel my order | Cancel it in Shopify, if it has not shipped |
| I ordered the wrong size or color | Swap the item on the same order instead |
| I placed the same order twice | Cancel the duplicate |
| Hold it, I'm away next week | Put the order on hold, then release it later |

## What the AI checks *before it cancels*

- **The customer.** Identity is confirmed first when your store requires it, and the order must belong to that customer.
- **Fulfillment status.** A fulfilled order stops here. Shopify cannot cancel it, and the AI says so.
- **Already cancelled.** The AI tells the customer and takes no action.
- **Subscription orders.** An order tagged as a subscription renewal is not cancelled unless your policy says so. The subscription itself changes in Recharge, Loop or Skio.
- **Your policy.** Your policy or a teammate's instruction must authorize cancelling that specific order.

## A hold or a swap *instead of a cancel*

Many cancel requests are really a timing problem or a wrong variant. The AI can put an unfulfilled order on hold and release it when the customer is ready.

It can also swap the size, color or product on the same order before it ships. See [editing an order](https://www.richpanel.com/learn/ai-actions-edit-order).

## Who approves an *AI cancellation*

Cancel Order has its own permission: Always allow, or Require approval. A refund bundled into the cancel follows the same approval, so money never moves ahead of the person approving.

While a cancel waits for approval, the customer hears the request is under review. Nobody tells them the order is stopped.

The Shopify tools page. Lookups run on their own. Cancel, refund, address, edit and discount wait for a person.

## Stopping the order *in the warehouse*

If you ship through ShipHero, the AI can cancel or hold the order in the warehouse too. That stops the pick before a label prints.

It reads the warehouse state first, so it knows whether the order has already left.

## When the AI *hands a cancellation to your team*

Shipped orders, orders your policy does not cover, and requests where the order is unclear go to your team.

A hand-off takes three steps. The AI saves an internal note with the reason. It sends the customer one reply on what happens next. The conversation stays open for your team.

If your playbook names a hand-off mode, the AI switches the conversation to Manual or Co-Pilot. No further AI reply then goes out on its own.

## Which systems the cancel *runs in*

| System | Cancellation action |
| --- | --- |
| Shopify | Cancel an unfulfilled order, with a reason and an optional refund |
| Shopify | Hold an unfulfilled order, then release the hold |
| ShipHero | Cancel, hold or release the order in the warehouse |
| CheckoutChamp | Cancel an order, optionally with a full refund |

The refund that can ride with a cancel is covered in [AI refunds](https://www.richpanel.com/learn/ai-actions-refund-order). Every other action is on the [AI actions overview](https://www.richpanel.com/learn/ai-actions).

## AI order cancellation: common questions.

### Can an AI agent cancel a Shopify order?

Yes, while the order is unfulfilled. Richpanel's AI agent cancels it in Shopify with a reason and a customer notification, when your policy authorizes it. A fulfilled order cannot be cancelled.

### Does the AI refund the payment when it cancels?

Only if your policy says to. The refund follows the cancel's approval setting. If cancels require approval, nothing is refunded until a person approves.

### What happens if the order already shipped?

The cancel stops. The AI follows your SOP for shipped orders, usually your return policy, or hands the conversation to your team.

### Can the AI cancel a subscription instead of one order?

Yes, but through the subscription app, not the Shopify cancel. Recharge, Loop and Skio subscriptions have their own cancel action, with your save offer first.

## Where these facts come from.

1. **Richpanel AI action catalog, as of September 24, 2026.** The list of actions the AI agent can call, with each action's inputs, preconditions and default permission. Every capability on this page maps to a named action in it: cancel_order, hold_order, release_order_hold, edit_order, get_shiphero_order_state, cancel_shiphero_order, hold_shiphero_order and cancel_checkoutchamp_order.
2. **Richpanel AI safety.** The five safety layers, including sensitive-action guardrails, tool permissions and QA AI review of every conversation. [richpanel.com/ai-safety](https://www.richpanel.com/ai-safety)

Version history. v1.0 (2026-09-24): initial publication. Every action on this page is checked against the Richpanel AI action catalog as it stood on the publication date.
